A model_not_found response means the selected model is unavailable to that request. It does not, by itself, prove a typo, a retirement, or a successful authorization check. Inspect the exact identifier, endpoint, provider, and account scope before changing application behavior.
Keep the identifier exact
Copy the value from the failing request configuration, not from a product label. A dated snapshot, a moving alias, a fine-tuned identifier, and a deployment name are different identifiers. Compare the value with the provider's current model documentation and the recorded identifier directory. The directory is a dated reference; it does not inspect your account.
Also confirm the API host. A model ID documented for OpenAI's API is not automatically the name of an Azure deployment, a third-party gateway route, or another provider's compatible endpoint. Do not repair a host mismatch by guessing a similar model name.
Distinguish absence, access, and endpoint support
- Identifier: inspect spelling, dated suffixes, configuration precedence, and trailing whitespace.
- Account scope: check the project, organization, credential permissions, and any deployment-specific access requirements.
- Endpoint: read the exact model card's supported endpoints. Availability in a catalog is not evidence that every endpoint accepts it.
- Lifecycle: match an announced retirement against the complete API ID and effective date. A future shutdown does not explain an earlier failure by itself.
OpenAI's current Agents API error documentation explicitly lists HTTP 404 not_found_error and model_not_found for unavailable resources or models. That request-level contract should not be confused with a later failed agent turn or session. Other endpoints can have different error details; handle an unknown or missing error.code without crashing your diagnostic path.
The GPT-4o snapshot notice is narrower than the family name
The canonical retirement record covers gpt-4o-2024-05-13, with a scheduled shutdown of October 23, 2026. The documented replacement in that record is GPT-5.6 Sol (gpt-5.6-sol).
This notice does not announce retirement of the bare gpt-4o alias or every other GPT-4o snapshot. Do not silently redirect an entire family because one version has a deadline. The October retirement reference keeps the exact affected IDs and their individual mappings together.
Use model discovery as one diagnostic input
The official GET /v1/models endpoint returns available model records and basic metadata, including a shutdown date when supplied. Use the same credential and account scope as the failing service. Check HTTP status before parsing a response as a successful list, apply a timeout, and handle an absent or malformed data array.
Do not turn a catalog lookup into a universal startup gate. A proxy, restricted credential, or provider-specific discovery contract may differ from the inference path. A list result also does not prove that your chosen endpoint, tools, modalities, output allowance, or service tier will work. Diagnose the actual operation after discovery.
A replacement is an integration change
When the provider names a successor, record that recommendation separately from your own choice. Compare accepted request fields, supported endpoint, tool schemas, structured-output behavior, output limits, and pricing before routing traffic. A recommendation is not a guarantee of identical behavior or cost.
Use the snapshot migration planner for that exact record, then test representative cases in a controlled environment. Preserve the original failing request's redacted metadata and the replacement's results. This guide did not execute authenticated model discovery or inference; its lifecycle fields are derived from the sourced ledger, not a live availability probe.