AI API error diagnoser
Inspect OpenAI, Claude, Gemini, and gateway errors in your browser. Distinguish quota, rate limits, authentication, and stream failures.
Response contents are processed in this browser tab, without uploading or saving them. Leave out keys, authorization headers, and customer data.
Try an example
Check official documentation
Error classifications checked November 26, 2026. Gateways may use their own error conventions.
Continue debugging and estimating
Check the gateway's response format.
Estimate workloads and extra billable requests.
Validate a small request before a full task.
More free tools
- ChatGPT export to Markdown
Convert conversations.json into Markdown in your browser. Pick a chat and branch, then copy or download the result.
- Token counter
Paste text, get its token count, and see what it costs as input or output on every Claude and GPT model — counted in your browser.
- AI token cost calculator
Price any workload across every Claude and GPT model side by side, each next to its provider's list price — or paste a prompt to count its tokens first.
- Claude token cost calculator
Claude rates with the cache maths the others leave out — cache hits at a tenth of input and cache writes at 1.25×, each at the model's own discount.
- AI video cost calculator
Per-clip and per-second video models priced as the different things they are — resolution, clip length and volume, each next to the provider's list price.
- AI image cost calculator
Every image model on the key, priced per image and per tier — one is flat across resolutions and the rest are not, so the cheapest model changes with the size you ship.
- OpenAI API pricing calculator
GPT rates including cached input at a tenth of the input rate, and what reasoning tokens do to an output-heavy bill.
Does 429 always mean requests are too fast?
No. It may also describe a credit, spending, or quota limit. This tool prioritizes structured error codes and leaves ambiguous limits unresolved instead of recommending blind retries.
What can I paste?
A JSON error body (with a log prefix or curl -i response headers in front, if you like), SSE events, the Error code: 429 - {…} text that the OpenAI and Anthropic Python SDKs print, or an error object printed by a Node.js SDK. The tool reads only structured fields such as the HTTP status, type, code, and details. It does not treat words in the message text as error codes.
Will this tool call my API?
No. It checks the supplied error structure locally. It does not test keys, send generation requests, or upload error responses.
Does HTTP 200 mean the task succeeded?
Not necessarily. A stream can open successfully and then emit an error. Check its final event, complete output, and actual task outcome.