OpenAI API Supported Models: Full List by Endpoint (2026)
Which models does the OpenAI API support?
As of December 2, 2026, OpenAI's models page recommends four current text models for most API work: gpt-6.2-astra (flagship for complex reasoning and coding), gpt-6.2-sol (balance of intelligence and cost), gpt-6.1-terra (fast, efficient, strong at visual reasoning and computer use) and gpt-6-luna (cheapest, high volume). Around them sit specialized families for images (gpt-image-2.6-*), realtime voice (gpt-realtime-2.1), transcription (gpt-transcribe), embeddings (text-embedding-3-*), moderation (omni-moderation-latest) and open-weight models (gpt-oss-120b, gpt-oss-20b).
"Supported" has three layers, though: whether the model exists in the catalog, whether your project can call it, and whether it works on the endpoint you are using. This guide lists the current models by job, shows which endpoints each one supports, explains how to get the exact list available to your key, and flags the large batch of retirements landing between December 2026 and February 2027. Everything below was checked against OpenAI's developer documentation on December 2, 2026; model lineups change often, so re-check before you hard-code anything.
Current OpenAI API models at a glance
|
Job |
Model ID |
Inputs → outputs |
Notes from OpenAI's model page |
|---|---|---|---|
|
Hardest reasoning and coding |
|
text, image → text |
1,050,000-token context, 128,000 max output; rejects |
|
Everyday work and agents |
|
text, image → text |
Same context and output limits as Astra |
|
Fast, visual reasoning, computer use |
|
text, image → text |
1,050,000-token context |
|
High-volume, cost-sensitive |
|
text, image → text |
1,050,000-token context |
|
Image generation and editing |
|
text, image → image |
Flare for fast iteration, Sunburst for detailed work |
|
Realtime voice |
|
text, audio, image → text, audio |
128,000-token context |
|
Speech to text |
|
audio → text |
File and realtime transcription |
|
Embeddings |
|
text → vector |
|
|
Moderation |
|
text, image → classification |
Default snapshot |
|
Open-weight |
|
text → text |
131,072-token context for 120b |
The full catalog also includes earlier generations that are still active, such as GPT-5.2, GPT-5.4, GPT-5.5 and GPT-5.6 variants, plus specialized models like GPT-6 Cyber for authorized security research. For prices per model, see our OpenAI API pricing breakdown.
Which endpoint each model works on
A model ID that exists can still fail if you send it to the wrong endpoint. Each model page on OpenAI's docs has an endpoint table; here is what it showed for the main models:
|
Model |
Chat Completions |
Responses |
Batch |
Other supported endpoints |
|---|---|---|---|---|
|
|
Yes |
Yes |
Yes |
None of images, audio, realtime, fine-tuning |
|
|
Yes |
Yes |
Yes |
|
|
|
Yes |
Yes |
Yes |
|
|
|
Yes |
Yes |
Yes |
|
|
|
No |
No |
No |
|
|
|
No |
No |
No |
|
|
|
No |
No |
No |
|
|
|
No |
No |
Yes |
|
|
|
No |
No |
Yes |
|
|
|
No |
Yes |
Yes |
|
Two practical consequences:
- The flagship text models are not image or audio models. Send image generation to a
gpt-image-*model and speech to the realtime or transcription models. - OpenAI steers new work to the Responses API. Its models page says the latest models are available via the Responses API and the client SDKs, and some features, such as the multi-agent beta, are Responses-only. Chat Completions still works for the main text models.
How to list the models your key can use
The catalog is not the same as what your project can call. Organization settings, project model restrictions and access programs (for example, models for approved organizations) all narrow it. The authoritative answer for your key is the List models endpoint, GET /v1/models, which returns each model's id, created, owned_by and, when announced, a shutdown_date.
curl https://api.openai.com/v1/models \
-H "Authorization: Bearer $OPENAI_API_KEY"With the official Python SDK:
from openai import OpenAI
client = OpenAI()
for m in client.models.list():
print(m.id, m.owned_by)Use shutdown_date as an early warning: if a model you depend on shows a date, plan the migration now. You can also fetch one model with GET /v1/models/{model} to confirm a specific ID before a deploy.
The same call works against most OpenAI-compatible gateways, but the list then reflects that provider's catalog, not OpenAI's. See What Is an OpenAI-Compatible API? for how that switch works.
Models being retired soon
OpenAI's deprecations page lists a large wave of shutdowns. The most consequential ones for typical apps:
|
Shutdown date |
Models |
Recommended replacement |
|---|---|---|
|
Dec 11, 2026 |
|
|
|
Dec 11, 2026 |
|
|
|
Dec 11, 2026 |
|
|
|
Dec 11, 2026 |
|
|
|
Jan 6, 2027 |
|
|
|
Jan 14, 2027 |
GPT-4o, GPT-4o mini, GPT-4.1, GPT-4.1 mini snapshots |
|
|
Jan 20, 2027 |
|
|
|
Feb 10, 2027 |
|
|
|
Feb 26, 2027 |
|
|
If your code still pins gpt-4o, gpt-4.1, gpt-5 or whisper-1, those requests stop working on the dates above. OpenAI says impacted customers are notified by email and in the documentation.
Choosing a model: a quick rule set
- Start with
gpt-6.2-solfor general product work, agents and coding; move up togpt-6.2-astraonly for tasks where quality clearly improves. - Use
gpt-6-lunafor classification, extraction, routing and other high-volume jobs where cost dominates. - Use
gpt-6.1-terrawhen you need speed plus visual reasoning or computer use. - Pin what you test. Model pages list snapshots where available; use them when behavior must stay stable, and track
shutdown_date. - Keep the model ID in config, not code, so a retirement is a config change rather than a release.
For copy-paste request patterns across these models, see OpenAI API Examples.
Frequently asked questions
How do I see all OpenAI models available to my API key?
Call GET https://api.openai.com/v1/models with your key, or client.models.list() in the SDK. The result reflects what your organization and project can access, which can be narrower than the public catalog.
Which OpenAI model should I use by default?
OpenAI's models page suggests GPT-6.2 Astra for complex reasoning and coding, GPT-6.2 Sol to balance intelligence and cost, and GPT-6 Luna for cost-sensitive, high-volume workloads.
Is GPT-4o still supported in the API?
As of December 2, 2026, the listed GPT-4o and GPT-4o mini snapshots are deprecated with a shutdown date of January 14, 2027, and OpenAI recommends gpt-6-luna as the replacement.
Can I use GPT-6.2 models with Chat Completions?
Yes. The model pages for gpt-6.2-astra and gpt-6.2-sol list Chat Completions, Responses and Batch as supported. Some newer features are Responses-only.
Why does the API say a model does not exist when it is in the docs?
Usually the model is not enabled for your project, the ID has a typo or uses the display name instead of the model ID, or you are calling a different provider's base URL. Check GET /v1/models with the same key and base URL.
The short version
The OpenAI API currently centers on four text models (gpt-6.2-astra, gpt-6.2-sol, gpt-6.1-terra, gpt-6-luna) plus dedicated image, voice, transcription, embedding, moderation and open-weight models. Check each model's endpoint table before wiring it in, confirm availability for your key with GET /v1/models, and migrate anything on GPT-4o, GPT-4.1, GPT-5, o3 or Whisper before the shutdown dates.