OpenAI model_not_found: IDs, access, and retirement checks

Check the exact OpenAI ID, endpoint, account scope and lifecycle notice without treating a 404 as proof that an entire family retired.

By benchr Editorial Team · · · Changelog

Provider documentation read . Documentation review; no provider execution is established by this date.

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.

Changelog

  • 2026-10-15 — Removed an unsupported ranking of 404 causes and family-wide retirement implications. Bound the GPT-4o snapshot mapping to the lifecycle ledger and clarified Agents request-error and model-list scope.
  • — Added benchr's current OpenAI picks (GPT-5.6 Terra for general work, GPT-5.6 Luna for volume) to the gpt-4o answer, and noted the December 11, 2026 shutdown of the dated gpt-5-2025-08-07 snapshot. OpenAI's official replacements are unchanged.
  • — Published. Message pattern, status code, and the October 23 retirement list checked against OpenAI's error documentation and benchr's deprecations record.

Sources and documentation review

Documentation review dates are recorded per source. No provider inference or independent benchmark replication was performed for this revision.

  1. OpenAI Agents API request and turn errors — read
  2. Official Models list reference — read
  3. OpenAI model deprecations — read