Free tool
429 and Quota Retry Simulator
Tune backoff and retry settings to see simulated outcomes and copy a retry handler snippet.
Estimated success rate
8%
Total backoff delay ~8197ms
Use Retry-After when present, exponential backoff with jitter, and separate rate_limit_exceeded from quota_exceeded handlers.
- Attempt 1: retry (546ms)
- Attempt 2: retry (1188ms)
- Attempt 3: retry (2025ms)
- Attempt 4: success (4438ms)
- Attempt 4: success
async function handleLimitedResponse(response) {
if (response.status !== 429) {
return response;
}
const body = await response.json();
const code = body.error?.code;
if (code === "rate_limit_exceeded") {
const retryAfter = Number(response.headers.get("retry-after") ?? 1);
await new Promise((resolve) => setTimeout(resolve, retryAfter * 1000));
return null; // signal caller to retry
}
if (code?.includes("quota_exceeded")) {
await recordQuotaPressure(response.headers.get("x-unlimitedcodex-quota-state"));
return response; // do not immediately retry
}
return response;
}Related tools
More in this category
Package Quiz
Answer six questions to get a Weekly or Monthly recommendation with a pre-filled signup link.
Open toolMigration Playground
Side-by-side diff view when transforming OpenAI SDK code to unlimitedcodex with model mapping.
Open toolRate Limit Planner
Plan backoff settings and quota monitoring checklist from expected RPS and team size.
Open toolReady for GPT-5.5 and Codex API access?
Choose Unlimited Weekly or Unlimited Monthly, complete Stripe checkout, and receive manual setup in 10 minutes to 5 hours. The full API key arrives by email, while the dashboard safely shows delivery details.