LLM API Error Decoder

Decode and troubleshoot LLM API error responses in plain English.

Ad placeholder (leaderboard)

LLM API errors are terse and provider-specific. This decoder takes the raw message or JSON body and explains, in plain English, what went wrong, the most likely fix, and what to check next — across OpenAI, Anthropic, Gemini and Mistral.

How it works

Paste the error. The tool looks for an HTTP status code and an error type / code field, matches them against a knowledge base of common LLM failure modes, and returns a cause, a recommended action and a category (auth, rate limit, request, server). Matching runs entirely in your browser — nothing is uploaded, so request IDs and prompt fragments stay private.

Common cases

  • 401 / invalid_api_key — credentials missing, wrong, or revoked. Rotate the key and check the org/project header.
  • 429 / rate_limit_exceeded — too many requests or tokens. Back off exponentially, honour Retry-After, or raise your tier.
  • 400 / context_length_exceeded — prompt plus completion exceeds the window. Shorten input, lower max_tokens, or move to a larger model.
  • 500 / 503 — transient provider-side issue. Retry with backoff; check the status page.

If the decoder cannot classify your error, lean on the status code: 4xx means your request needs fixing, 5xx means retry the provider.

Ad placeholder (rectangle)