← Blog

Claude API Rate Limits Explained for Developers

2026-11-19 · 5 min read · SubToAPI Team

If you've hit a 429 error while calling the Claude API, you're dealing with rate limits — and understanding exactly how they work is the fastest way to stop hitting them. Anthropic enforces limits on requests per minute, tokens per minute, and sometimes tokens per day, and these limits scale with your usage tier rather than being a single fixed number for everyone.

This article breaks down what each limit type actually measures, how tiers work, what the response headers tell you, and practical ways to plan capacity so rate limits stop being a surprise in production.

The three limit types

Claude API rate limits are enforced across a few independent dimensions, and you can hit any of them first depending on your traffic pattern:

A single long request with a huge system prompt can burn through your TPM limit without ever touching your RPM limit. Conversely, a chatbot firing lots of small, fast messages can hit RPM first even though token usage is low. Knowing which limit you're actually bumping into matters because the fix is different: batching/backoff for RPM, trimming context for TPM.

How tiers work

Anthropic assigns rate limit tiers based on account history and spend, not a flat rule for everyone. New accounts start on a conservative tier with low RPM/TPM, and limits increase automatically as usage and billing history accumulate. This is why a brand-new integration might get throttled during a load test even though the same account handles production traffic fine a month later — the tier simply hasn't moved up yet.

Key things worth internalizing:

Reading the rate limit headers

Every Claude API response includes headers that tell you exactly where you stand relative to your limits:

curl -i https://api.anthropic.com/v1/messages \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{"model":"claude-3-5-sonnet-latest","max_tokens":100,"messages":[{"role":"user","content":"hi"}]}'

Look for headers like:

These are far more useful than guessing. Instead of retrying blindly after a 429, read the -remaining and -reset values and schedule your next call accordingly. If -remaining is approaching zero well before -reset, you know you're about to get throttled and can slow down proactively rather than reactively.

Designing around rate limits

A few patterns consistently reduce rate-limit pain in real applications:

  1. Queue and throttle client-side. Don't fire requests as fast as your app generates them — maintain a queue with a concurrency cap tuned to your current RPM/TPM tier.
  2. Batch where the API allows it. Fewer, larger requests are often more efficient than many tiny ones, especially against RPM limits.
  3. Cache aggressively. Repeated prompts (FAQ-style queries, repeated system context) don't need a fresh API call every time.
  4. Separate traffic by priority. Give interactive user-facing requests their own budget separate from background batch jobs, so a bulk job never starves live users.
  5. Monitor headers in your logging pipeline, not just error rates. Tracking -remaining over time lets you catch approaching limits before they turn into errors.

Where a gateway helps

If you're running a product on top of Claude rather than a single internal script, you usually don't want every feature team hammering the same raw API key and discovering rate limits the hard way in production. This is a common reason teams put a gateway layer in front of the Claude API: it gives you per-application keys, centralized usage visibility, and a single place to watch consumption trends before they turn into 429s.

SubToAPI does exactly this — it turns your existing Claude access into application-level API keys (sub_live_...) with usage metadata per key, so you can see which app or team is actually consuming your token budget instead of guessing. You still work with the same messages format and streaming behavior you'd expect; see the quickstart and messages docs for the exact request shape, and streaming if you're building anything latency-sensitive. Plans start at Solo (€9) with Team and Scale tiers for per-seat usage tracking — details on pricing.

That said, no gateway changes Anthropic's underlying tier limits — it just makes it far easier to see who's consuming what before you hit them, and to isolate one noisy app from affecting the rest of your traffic.

Planning checklist

Before you ship a Claude-powered feature that expects meaningful traffic:

questions

Does the Claude API rate limit apply per API key or per account? Per organization. All API keys under one Anthropic account share the same RPM/TPM pool, so adding more keys doesn't give you more capacity.

Why am I getting 429 errors even though my token usage looks low? You're likely hitting the RPM (requests per minute) limit, not the token limit. Many small, frequent requests can exhaust RPM well before TPM becomes an issue — check the specific rate limit headers in the response to see which one is near zero.

How do I increase my Claude API rate limits? Limits rise automatically with sustained usage and billing history as your account moves up tiers. For a known upcoming spike, request a manual tier increase through Anthropic in advance rather than relying on automatic scaling to happen in time.

Turn your Claude access into an HTTPS API

SubToAPI gives you application API keys, streaming, tool use and usage insights on top of your existing Claude access — set up in minutes.

Start free  Read the quickstart →