429 — limit exceeded
What happened
A limit rejected the request: the action was not performed, no order was created, and no money was charged. The reason field names the limit.
Why
Different limits answer with 429: the key request rate, the key token quota, the subscription limit, the concurrent order limit, and a pause after a series of content blocks. Each one has its own fix. Retrying with a growing delay helps only with the request rate and the token quota.
What to do right now
Branch on reason: rate_limit_exceeded, token_quota_exceeded, limit_exceeded, concurrency_limit_exceeded, or policy_cooldown_active. rate_limit_exceeded, token_quota_exceeded, and policy_cooldown_active come with a Retry-After header that says how long to wait. The exception is the token quota pool without a reset (window: "quota"): it has no header. limit_exceeded and concurrency_limit_exceeded have no such header, and a timed pause does not help.
Which request to send next
GET /usage shows the subscription limits and current usage, including the entry with limit_type: "concurrent". The limits of the key itself are not there. They are in the developer section.
Where to go next
This page for AI
API version 1.0.0