AI Model Error Decoder
Production code returning model_not_found? Paste the error response and we'll identify the deprecated model, the shutdown date, and the exact replacement to use. 100% client-side — your error message never leaves your browser.
How it works
- 1. Paste your full API error response (JSON or plain text). Anything containing the model id works.
- 2. We match against 194 known deprecations from OpenAI, Anthropic, Google and Vertex AI — plus their aliases and known error templates.
- 3. Get the exact replacement model id and a link to the full migration guide with Python, JavaScript and cURL examples.
Common error patterns we recognize
Different providers return deprecation errors in slightly different shapes. The decoder handles each one — paste any of these patterns and it will identify the model.
OpenAI — model_not_found
{"error":{"message":"The model `gpt-4.1-nano` has been deprecated...","type":"invalid_request_error","code":"model_not_found"}} Anthropic — model deprecated
{"type":"error","error":{"type":"not_found_error","message":"model: claude-3-haiku-20240307"}} Google Gemini — NOT_FOUND
{"error":{"code":404,"message":"models/gemini-2.0-flash is not found for API version v1beta"}} Vertex AI / Anthropic on GCP
google.api_core.exceptions.NotFound: 404 Publisher Model 'projects/.../publishers/anthropic/models/claude-3-7-sonnet@20250219' not found Why this happens
AI providers retire older model versions on a rolling schedule. OpenAI typically gives 6-12 months of notice; Anthropic uses 12-month deprecation windows; Google often retires preview models more aggressively. Each provider publishes the schedule in their docs, but watching every changelog is impractical for a team.
The decoder works against a continuously synced dataset, so if a model is officially marked deprecated by its provider, it appears here within a day. If you paste an error and we don't find a match, the error usually isn't a deprecation — common alternatives are a typo in the model id, missing API key access to a private preview model, or a region/billing issue.
Privacy
The decoder runs entirely in your browser. Your error message, including any internal model ids, customer ids, or request payloads it might contain, is never sent to a server. The matching logic and the dataset of 194 deprecations are bundled into the page itself.
Calculate the cost difference
After identifying the replacement, see exactly how much your migration will cost on the same prompt across 194+ models.
Open the cost calculator →