model_not_found API Origin: Application & API Last updated 13 Oct 2026

LLM API: The model `x` does not exist or you do not have access to it (model_not_found / not_found_error)

The model name is wrong, deprecated/retired, or not available to your account/region.

Exact message you may see The model does not exist or you do not have access to itnot_found_error modelUnknown modelis not a valid model ID
Seen on: REST API

Meaning

Model IDs change with new releases and old ones are retired. Typos, using a display name instead of the API ID, or models not enabled for your org/cloud region cause it.

Common causes

  • Typo or display name instead of API model ID
  • Model retired/deprecated
  • Model not enabled for your account, org or cloud region
  • Using a model from another provider’s naming

⚡ Quick fix

  1. List available models via the API
  2. Update to a current model ID
  3. Check access/region availability (Bedrock/Vertex model access)

Detailed fix by platform

Shell

  1. curl -s https://api.anthropic.com/v1/models -H "x-api-key: $ANTHROPIC_API_KEY" -H "anthropic-version: 2023-06-01" | jq '.data[].id'

How to diagnose

  1. ID — Exact string
  2. Availability — Listed for your key/region?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Application & API. Errors that are often confused with or caused by this one (click to open):

1000 — Cloudflare Error 1000: DNS points to prohibited IP (Cloudflare)10001001 — Cloudflare Error 1001: DNS resolution error (Cloudflare)10011002 — Cloudflare Error 1002: DNS points to Prohibited IP / Restricted (Cloudflare)10021004 — Cloudflare Error 1004: Host Not Configured to Serve Web Traffic (Cloudflare)10041018 — Cloudflare Error 1018: Could not find host (Cloudflare)10181034 — Cloudflare Error 1034: Edge IP Restricted (Cloudflare)10341046 — MySQL ERROR 1046 (3D000): No database selected (MySQL)10461049 — MySQL ERROR 1049 (42000): Unknown database 'x' (MySQL)1049model_not…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.