OpenAI model_not_found: check model ID, access and endpoint
Troubleshoot OpenAI model_not_found by checking the model ID, account access, API endpoint and provider. Separate API errors from ChatGPT webpage 404s.
An OpenAI model_not_found response means you need to check the requested model, access and API route together. A 404 status alone does not identify the cause. Save the full error body and request ID before changing credentials, models or billing settings.
This guide was checked against OpenAI’s API error documentation on September 9, 2026.
First identify which 404 you are seeing
| Where the error appears | First check | What not to assume |
|---|---|---|
| ChatGPT webpage or shared conversation | Correct URL, signed-in account and whether the resource is still available | That changing an API model ID repairs a website link |
Direct OpenAI API with model_not_found | Exact model ID, project/account access and endpoint | That every 404 is an account-tier restriction |
| Custom API provider or gateway | That provider’s base URL, model ID and supported protocol | That OpenAI’s IDs work unchanged on every provider |
| Azure deployment request | Resource endpoint, deployment name and API configuration | That a public model name is the Azure deployment name |
| Codex or another API client | Its selected provider, authentication mode and effective configuration | That a ChatGPT subscription and API-key access are interchangeable |
If the browser itself displays a generic 404, start with the browser resource. If a developer tool displays an API error, capture its underlying response rather than diagnosing from the window title.
Read the error body before retrying
A model-related error can look like this illustrative response:
{
"error": {
"message": "The model `MODEL_ID` does not exist or you do not have access to it.",
"type": "invalid_request_error",
"code": "model_not_found"
}
}
The two alternatives in that message matter. It does not tell you which applies. Nor does it establish an official motive for returning 404 instead of another status. Authentication, permission, missing resources and malformed requests must be diagnosed using the full response and the endpoint documentation.
Record the timestamp, host, path, exact model string, project context and request ID. Never copy the secret API key into a support ticket or a public issue.
Check the exact model ID and account context
Compare the model string with the provider’s current model documentation. Check punctuation, family suffixes and dated versions. A product’s display name is not necessarily an API ID.
For the direct OpenAI API, inspect the model list using the same key and project context as the failing request:
curl --fail-with-body https://api.openai.com/v1/models -H "Authorization: Bearer $OPENAI_API_KEY"
The models API reference describes the listing. Use it as diagnostic evidence alongside the model and endpoint documentation. A listing is not a guarantee that every endpoint, tool, modality or account configuration will work with that model.
If access is missing, check the project’s permissions and the documented eligibility requirements. Do not infer a universal spending threshold, waiting period or instant access guarantee. A provider switch is a separate integration decision and does not automatically resolve access restrictions or legal availability.
Match the model to the endpoint
A text model, image model and tool-specific model may require different request shapes. Check the model page and the endpoint you intend to call. For example, an image-generation tool inside Responses is not identical to a direct Images API call.
The GPT Image 2.5 API guide shows that distinction for image generation. It does not mean that every 404 is caused by using the wrong API family.
For custom providers, check for a duplicated /v1 segment, a wrong host, or an unsupported route. Do not test a gateway key against OpenAI’s host or an OpenAI key against an unrelated gateway.
Check retirement and deployment configuration
A previously working model may have been retired or replaced. Check the official deprecations page and the provider’s own notice. Follow the documented replacement and verify parameter compatibility rather than changing only a name.
For Azure, compare the deployment name in the request with the deployment in the correct resource. Check the API version and route against the documentation for that Azure API surface. Do not apply the standard OpenAI URL pattern to every Azure integration.
For Batch, inspect the failed request, its endpoint and the model’s documented Batch support. Do not invent a hidden -batch snapshot name or assume a model available synchronously is supported in every asynchronous workflow.
A short diagnostic sequence
- Separate a website-resource 404 from an API response.
- Save the complete error and request ID.
- Confirm the actual host, endpoint, model string and account/project.
- Compare model availability and endpoint support with current documentation.
- Check retirement notices or Azure deployment configuration where applicable.
- After correcting the cause, send a minimal request using the same account context. Such an inference request may be billable.
Repeatedly sending an unchanged request is unlikely to resolve a persistent wrong ID or missing deployment. For a temporary service problem, use the provider’s status and retry guidance rather than assuming a permanent configuration error.
When the error is inside Codex
Inspect the effective provider and configuration before replacing keys. The Codex config.toml guide explains file locations, profiles and override order. The Codex error index helps distinguish startup, authentication and API failures.
If the request specifically names GPT-5.5, the GPT-5.5 Codex checklist applies to that model. A general 404 article should not be treated as evidence that every older or newer model has the same access rules.
Before escalating
Provide the request ID, time, error body, endpoint, model ID and redacted minimal example. Explain whether the same setup ever worked and which change preceded the failure. These details help distinguish a configuration issue from an account or service issue without exposing credentials.
Frequently Asked Questions
- Does model_not_found always mean my account tier is too low?
- No. Check the model ID, account access, endpoint and provider configuration. The status alone does not establish a universal cause or spending requirement.
- Will a gateway automatically fix an OpenAI 404?
- No. A gateway has its own access, model IDs and endpoint support. Switching providers does not guarantee model availability or fix every configuration problem.
- Can I use this guide for a ChatGPT webpage 404?
- First determine whether the missing resource is a webpage or an API model. A website link or conversation error does not necessarily involve API credentials.


