Skip to content

docs(knowledge-base): API rate limits on the rate limits page - #255

Merged
duharry0915 merged 2 commits into
mainfrom
claude/rate-limits-request-budgets
Sep 18, 2026
Merged

duharry0915 merged 2 commits into
mainfrom
claude/rate-limits-request-budgets

Conversation

@duharry0915

@duharry0915 duharry0915 commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Why

The request rate limiter goes to enforce in production. The rate limits page said limits were "per API key" and nothing else, so a customer receiving the new 429 had nothing useful to read.

What changed

One file, fern/pages/knowledge-base/rate-limits.mdx. The page deliberately does not publish the limiter's internals (unit costs, per-plan budgets, per-inbox and per-pod shares, burst sizes): exact numbers tell an abusive client how to stay just under them. It says:

  • what the API rate limit is for (one runaway client cannot slow the API for everyone), and that it is generous and absorbs short bursts;
  • what a 429 looks like (Retry-After, usually 1 s; message and fix in the body) and that the SDKs retry it automatically, with a retry helper for direct callers;
  • how to avoid it: webhooks or WebSockets instead of polling, slow polling, paced batch jobs, honoring Retry-After;
  • that upgrading the plan raises the limits.

The sending-limits table and the existing tips are unchanged.

Not verified

The TypeScript SDK's retry behaviour was checked in 0.5.19 (requestWithRetries: 408 / 429 / 5xx, honors Retry-After); the Python SDK was not checked separately. No local Fern build; the preview workflow on this PR renders it.

🤖 Generated with Claude Code

…scopes, bursts and the 429 shape

The rate limits page described limits as per API key with no numbers. The request rate
limiter counts units per minute per organization, pod and inbox; this page now states the
cost classes (1/2/4/8), the budgets per plan, how bursts work, and the 429 body and headers
the API returns, and points pollers at webhooks and WebSockets.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

… and remedies

Drop the unit costs, per-plan budgets, scope shares and burst mechanics: publishing the exact
numbers tells an abusive client how to stay just under them. The page now says what the limit
is for, that it is generous and absorbs bursts, what a 429 looks like, how to avoid it, and
that higher plans raise it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@duharry0915 duharry0915 changed the title docs(knowledge-base): API request budgets on the rate limits page docs(knowledge-base): API rate limits on the rate limits page Sep 18, 2026
@github-actions

Copy link
Copy Markdown

@duharry0915
duharry0915 merged commit 65e05a0 into main Sep 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants