AI Model Errors — Not Found, Deprecated, Unavailable Fix Guide 2026 | AI Error Hub
AI Error Hub/Categories/Model Availability & Version Errors
Category Hub

Model Availability & Version Errors

Model not found, deprecated, unavailable, or capacity-limited — the fix for each.

19 documented errors
Model errors are the failure mode teams underestimate. A working app suddenly returns model_not_found because a version was deprecated. A model that worked yesterday returns overloaded_error today. New models require new access tiers. Migration paths aren't documented. This hub is every documented model-availability error and its fix, plus the deprecation and migration patterns that make these errors survivable.

Errors in this category

Related pillar guides

Related blog posts

Frequently asked questions

What's the difference between model_not_found and model_permission_error?

model_not_found means the model ID doesn't exist at all — typo, deprecated model, or wrong provider. model_permission_error means the model exists but your org tier can't access it. Fix for the first: check current model catalog. Fix for the second: contact provider sales or use a lower tier.

How do I know when a model I'm using will be deprecated?

Anthropic and OpenAI publish deprecation dates on their docs pages. Subscribe to their status/blog RSS feeds. Deprecation typically has 6-12 month notice. Never hardcode a version-specific snapshot (e.g., claude-3-5-sonnet-20240620) — use the versioned alias (claude-sonnet-4-6) which auto-updates.

Why does the same model ID sometimes return different behavior?

Providers occasionally push silent updates to versioned aliases. Same model ID, slightly different behavior. Golden dataset tests catch this — run them nightly against production models. If quality regresses, pin to a specific snapshot temporarily and evaluate before migrating.

Should I hardcode model IDs or use aliases?

Aliases in production (auto-migration when providers update); snapshots in tests and evaluations (reproducibility). This split gives you both stability in prod and consistency in your evaluation baseline.

What happens during a model deprecation?

First: provider sends deprecation warning. Second: model still works but returns deprecation headers in response. Third: model returns 404 or deprecation error and stops working. Windows are typically 3-12 months between these stages. Migrate on the warning, not the error.

Can I use different providers' models via one API?

Yes — aggregators like OpenRouter, LiteLLM, and Portkey provide unified interfaces. Tradeoff: another layer of abstraction, another vendor. For simple multi-provider needs, roll your own with the pattern from B6 (Multi-Provider Load Balancer).

What if a model is unavailable in my region?

Options: switch to a region where it's available (Vertex AI supports us-central1, europe-west4, asia-southeast1), use a proxy through a region that has access, or fail over to a different provider whose model is available in your region. See G4 for the fallback patterns.