How to diagnose a model-not-found error through an AI gateway

Check the exact model ID, access on the provider account and any configured workspace routing rule.

Example

A coding client pins an old model name after the provider retires that version. The model path was valid last month.

What to do

  1. Compare the requested ID with models the configured account can use, including any provider prefix expected by that integration.
  2. Inspect gateway metadata to check which model was sent. Review workspace overrides only if the model changed.
  3. Update the client or select an approved explicit fallback. Run a small request and confirm the model that completed it.

How to verify

Your request succeeds with the intended model and no unauthorised substitute is selected.

Limits

A gateway cannot restore retired models or grant access the provider account does not have.

Spendplane for this workflow

Open the API gateway quickstart

Related reading