OpenAI model IDs
OpenAI Model IDs lists the exact API string for every GPT and o-series text model, its dated snapshot and price per 1M tokens, searchable in your browser.
OpenAI's current headline models and the exact ID to send:
- The model ID for GPT-6 Astra is$10.00 in / $50.00 out per 1M tokens
- The model ID for GPT-6.1 Sol is$2.00 in / $10.00 out per 1M tokens
- The model ID for GPT-6 Luna is$0.10 in / $0.50 out per 1M tokens
30 models shown. Prices are standard API rates in USD per 1M tokens. Last checked against each provider's official docs.
- GPT-6 AstraOpenAI
- Status
- Current
- Input / 1M
- $10.00
- Output / 1M
- $50.00
Prompts over 272K tokens: $20.00 in / $75.00 out for the whole request.
- GPT-6.1 SolOpenAI
- Status
- Current
- Input / 1M
- $2.00
- Output / 1M
- $10.00
Prompts over 272K tokens: $4.00 in / $15.00 out for the whole request.
- GPT-6 LunaOpenAI
- Status
- Current
- Input / 1M
- $0.10
- Output / 1M
- $0.50
Prompts over 272K tokens: $0.20 in / $0.75 out for the whole request.
- GPT-6 SolOpenAI
- Status
- Available
- Input / 1M
- $2.00
- Output / 1M
- $10.00
Prompts over 272K tokens: $4.00 in / $15.00 out for the whole request.
- GPT-5.6 SolOpenAI
- Status
- Available
- Input / 1M
- $4.00
- Output / 1M
- $20.00
Prompts over 272K tokens: $8.00 in / $30.00 out for the whole request.
- GPT-5.6 TerraOpenAI
- Status
- Available
- Input / 1M
- $2.00
- Output / 1M
- $12.00
Prompts over 272K tokens: $4.00 in / $18.00 out for the whole request.
- GPT-5.6 LunaOpenAI
- Status
- Available
- Input / 1M
- $0.20
- Output / 1M
- $1.20
Prompts over 272K tokens: $0.40 in / $1.80 out for the whole request.
- GPT-5.5OpenAI
- Pinned snapshot
- Status
- Available
- Input / 1M
- $5.00
- Output / 1M
- $30.00
Prompts over 272K tokens: $10.00 in / $45.00 out for the whole request.
- GPT-5.5 ProOpenAI
- Pinned snapshot
- Status
- Available
- Input / 1M
- $30.00
- Output / 1M
- $180.00
Prompts over 272K tokens: $60.00 in / $270.00 out for the whole request. Responses API only.
- GPT-5.4OpenAI
- Pinned snapshot
- Status
- Available
- Input / 1M
- $2.50
- Output / 1M
- $15.00
Prompts over 272K tokens: $5.00 in / $22.50 out for the whole request.
- GPT-5.4 MiniOpenAI
- Pinned snapshot
- Status
- Available
- Input / 1M
- $0.75
- Output / 1M
- $4.50
- GPT-5.4 nanoOpenAI
- Pinned snapshot
- Status
- Deprecated
- Input / 1M
- $0.20
- Output / 1M
- $1.25
Shuts down April 1, 2027; OpenAI suggests gpt-6-luna.
- GPT-5.4 ProOpenAI
- Pinned snapshot
- Status
- Available
- Input / 1M
- $30.00
- Output / 1M
- $180.00
Prompts over 272K tokens: $60.00 in / $270.00 out for the whole request. Responses API only.
- GPT-5.2OpenAI
- Pinned snapshot
- Status
- Available
- Input / 1M
- $1.75
- Output / 1M
- $14.00
- GPT-5.2 ProOpenAI
- Pinned snapshot
- Status
- Available
- Input / 1M
- $21.00
- Output / 1M
- $168.00
- GPT-5.1OpenAI
- Pinned snapshot
- Status
- Deprecated
- Input / 1M
- $1.25
- Output / 1M
- $10.00
Shuts down April 1, 2027; OpenAI suggests gpt-6-sol.
- GPT-5OpenAI
- Pinned snapshot
- Status
- Deprecated
- Input / 1M
- $1.25
- Output / 1M
- $10.00
Snapshot shuts down December 11, 2026; OpenAI suggests gpt-5.6-sol.
- GPT-5 MiniOpenAI
- Pinned snapshot
- Status
- Deprecated
- Input / 1M
- $0.25
- Output / 1M
- $2.00
Snapshot shuts down December 11, 2026; OpenAI suggests gpt-5.6-terra.
- GPT-5 nanoOpenAI
- Pinned snapshot
- Status
- Deprecated
- Input / 1M
- $0.05
- Output / 1M
- $0.40
Snapshot shuts down December 11, 2026; OpenAI suggests gpt-5.6-luna.
- GPT-5 ProOpenAI
- Pinned snapshot
- Status
- Deprecated
- Input / 1M
- $15.00
- Output / 1M
- $120.00
Snapshot shuts down December 11, 2026.
- GPT-4.1OpenAI
- Pinned snapshot
- Status
- Available
- Input / 1M
- $2.00
- Output / 1M
- $8.00
- GPT-4.1 MiniOpenAI
- Pinned snapshot
- Status
- Available
- Input / 1M
- $0.40
- Output / 1M
- $1.60
- GPT-4.1 nanoOpenAI
- Pinned snapshot
- Status
- Deprecated
- Input / 1M
- $0.10
- Output / 1M
- $0.40
Shuts down October 23, 2026; OpenAI suggests gpt-5.6-luna.
- GPT-4oOpenAI
- Pinned snapshot
- Status
- Available
- Input / 1M
- $2.50
- Output / 1M
- $10.00
- GPT-4o MiniOpenAI
- Pinned snapshot
- Status
- Available
- Input / 1M
- $0.15
- Output / 1M
- $0.60
- o3OpenAI
- Pinned snapshot
- Status
- Deprecated
- Input / 1M
- $2.00
- Output / 1M
- $8.00
Snapshot shuts down December 11, 2026; OpenAI suggests gpt-5.6-sol.
- o3-proOpenAI
- Pinned snapshot
- Status
- Deprecated
- Input / 1M
- $20.00
- Output / 1M
- $80.00
Snapshot shuts down December 11, 2026.
- o4-miniOpenAI
- Pinned snapshot
- Status
- Deprecated
- Input / 1M
- $1.10
- Output / 1M
- $4.40
Shuts down October 23, 2026; OpenAI suggests gpt-5.6-terra.
- o3-miniOpenAI
- Pinned snapshot
- Status
- Deprecated
- Input / 1M
- $1.10
- Output / 1M
- $4.40
Shuts down October 23, 2026; OpenAI suggests gpt-5.6-sol.
- o1OpenAI
- Pinned snapshot
- Status
- Deprecated
- Input / 1M
- $15.00
- Output / 1M
- $60.00
Shuts down October 23, 2026; OpenAI suggests gpt-5.6-sol.
| Model | Model ID | Alias or snapshot | Status | Input / 1M | Output / 1M |
|---|---|---|---|---|---|
| GPT-6 AstraOpenAI | Prompts over 272K tokens: $20.00 in / $75.00 out for the whole request. | - | Current | $10.00 | $50.00 |
| GPT-6.1 SolOpenAI | Prompts over 272K tokens: $4.00 in / $15.00 out for the whole request. | - | Current | $2.00 | $10.00 |
| GPT-6 LunaOpenAI | Prompts over 272K tokens: $0.20 in / $0.75 out for the whole request. | - | Current | $0.10 | $0.50 |
| GPT-6 SolOpenAI | Prompts over 272K tokens: $4.00 in / $15.00 out for the whole request. | - | Available | $2.00 | $10.00 |
| GPT-5.6 SolOpenAI | Prompts over 272K tokens: $8.00 in / $30.00 out for the whole request. | - | Available | $4.00 | $20.00 |
| GPT-5.6 TerraOpenAI | Prompts over 272K tokens: $4.00 in / $18.00 out for the whole request. | - | Available | $2.00 | $12.00 |
| GPT-5.6 LunaOpenAI | Prompts over 272K tokens: $0.40 in / $1.80 out for the whole request. | - | Available | $0.20 | $1.20 |
| GPT-5.5OpenAI | Prompts over 272K tokens: $10.00 in / $45.00 out for the whole request. | pinned snapshot | Available | $5.00 | $30.00 |
| GPT-5.5 ProOpenAI | Prompts over 272K tokens: $60.00 in / $270.00 out for the whole request. Responses API only. | pinned snapshot | Available | $30.00 | $180.00 |
| GPT-5.4OpenAI | Prompts over 272K tokens: $5.00 in / $22.50 out for the whole request. | pinned snapshot | Available | $2.50 | $15.00 |
| GPT-5.4 MiniOpenAI | pinned snapshot | Available | $0.75 | $4.50 | |
| GPT-5.4 nanoOpenAI | Shuts down April 1, 2027; OpenAI suggests gpt-6-luna. | pinned snapshot | Deprecated | $0.20 | $1.25 |
| GPT-5.4 ProOpenAI | Prompts over 272K tokens: $60.00 in / $270.00 out for the whole request. Responses API only. | pinned snapshot | Available | $30.00 | $180.00 |
| GPT-5.2OpenAI | pinned snapshot | Available | $1.75 | $14.00 | |
| GPT-5.2 ProOpenAI | pinned snapshot | Available | $21.00 | $168.00 | |
| GPT-5.1OpenAI | Shuts down April 1, 2027; OpenAI suggests gpt-6-sol. | pinned snapshot | Deprecated | $1.25 | $10.00 |
| GPT-5OpenAI | Snapshot shuts down December 11, 2026; OpenAI suggests gpt-5.6-sol. | pinned snapshot | Deprecated | $1.25 | $10.00 |
| GPT-5 MiniOpenAI | Snapshot shuts down December 11, 2026; OpenAI suggests gpt-5.6-terra. | pinned snapshot | Deprecated | $0.25 | $2.00 |
| GPT-5 nanoOpenAI | Snapshot shuts down December 11, 2026; OpenAI suggests gpt-5.6-luna. | pinned snapshot | Deprecated | $0.05 | $0.40 |
| GPT-5 ProOpenAI | Snapshot shuts down December 11, 2026. | pinned snapshot | Deprecated | $15.00 | $120.00 |
| GPT-4.1OpenAI | pinned snapshot | Available | $2.00 | $8.00 | |
| GPT-4.1 MiniOpenAI | pinned snapshot | Available | $0.40 | $1.60 | |
| GPT-4.1 nanoOpenAI | Shuts down October 23, 2026; OpenAI suggests gpt-5.6-luna. | pinned snapshot | Deprecated | $0.10 | $0.40 |
| GPT-4oOpenAI | pinned snapshot | Available | $2.50 | $10.00 | |
| GPT-4o MiniOpenAI | pinned snapshot | Available | $0.15 | $0.60 | |
| o3OpenAI | Snapshot shuts down December 11, 2026; OpenAI suggests gpt-5.6-sol. | pinned snapshot | Deprecated | $2.00 | $8.00 |
| o3-proOpenAI | Snapshot shuts down December 11, 2026. | pinned snapshot | Deprecated | $20.00 | $80.00 |
| o4-miniOpenAI | Shuts down October 23, 2026; OpenAI suggests gpt-5.6-terra. | pinned snapshot | Deprecated | $1.10 | $4.40 |
| o3-miniOpenAI | Shuts down October 23, 2026; OpenAI suggests gpt-5.6-sol. | pinned snapshot | Deprecated | $1.10 | $4.40 |
| o1OpenAI | Shuts down October 23, 2026; OpenAI suggests gpt-5.6-sol. | pinned snapshot | Deprecated | $15.00 | $60.00 |
At a glance
- Accepts
- A model name or partial ID you type
- Outputs
- The model ID and pinned snapshot to copy, status and price, plus CSV or PDF of the list
- Where it runs
- Entirely in your browser, on your device
- What leaves your device
- Nothing - what you type stays in this tab - the list ships with the page
- Limits
- A snapshot of the provider's docs, checked October 8, 2026; text models only, standard (non-batch) prices
- Account
- Not required - there is no sign-up
- Price
- Free, with no watermark and no usage cap
- Made by
- Visrut
- Last updated
- 8 October 2026
OpenAI's model IDs are lowercase and use dots for versions, so GPT-5.5 is gpt-5.5 and GPT-6.1 Sol is gpt-6.1-sol. The table above opens on OpenAI's text models, from the GPT-6 family down to the o-series models that are being retired, with the dated snapshot each short ID currently points to. Click any ID to copy it.
Where the ID goes
The ID is the model argument. This is OpenAI's own Python quickstart; swap in any ID from the table:
from openai import OpenAI
client = OpenAI()
response = client.responses.create(
model="gpt-6-astra",
input="Write a one-sentence bedtime story about a unicorn.",
)
print(response.output_text)Short IDs and pinned snapshots
Most OpenAI models have two valid IDs. The short one (gpt-4.1) is what OpenAI's examples use; the dated one (gpt-4.1-2025-04-14) is the snapshot it currently resolves to. The newest GPT-6 and GPT-5.6 models list only the short ID as their snapshot. Deprecations are announced per snapshot, which is why gpt-5 shows as deprecated: its default snapshot, gpt-5-2025-08-07, is scheduled to shut down.
Models with a shutdown date
As of October 8, 2026, OpenAI has announced shutdowns for these 12 models in the table:
gpt-5.4-nano: Shuts down April 1, 2027; OpenAI suggests gpt-6-luna.gpt-5.1: Shuts down April 1, 2027; OpenAI suggests gpt-6-sol.gpt-5: Snapshot shuts down December 11, 2026; OpenAI suggests gpt-5.6-sol.gpt-5-mini: Snapshot shuts down December 11, 2026; OpenAI suggests gpt-5.6-terra.gpt-5-nano: Snapshot shuts down December 11, 2026; OpenAI suggests gpt-5.6-luna.gpt-5-pro: Snapshot shuts down December 11, 2026.gpt-4.1-nano: Shuts down October 23, 2026; OpenAI suggests gpt-5.6-luna.o3: Snapshot shuts down December 11, 2026; OpenAI suggests gpt-5.6-sol.o3-pro: Snapshot shuts down December 11, 2026.o4-mini: Shuts down October 23, 2026; OpenAI suggests gpt-5.6-terra.o3-mini: Shuts down October 23, 2026; OpenAI suggests gpt-5.6-sol.o1: Shuts down October 23, 2026; OpenAI suggests gpt-5.6-sol.
When this is and isn't the right page
- Right page: you call OpenAI's API directly and need the exact string for a GPT or o-series text model, or want to know whether the one in your code is about to be shut down.
- Not this page: image, audio, realtime, embedding and moderation models (gpt-image-2, gpt-realtime-2.1, text-embedding-3-small and so on) are left out because they are not priced per text token. OpenAI's model catalog lists them.
- Not this page: you want Claude or Gemini next to GPT. Use the all-provider list, or price a workload in the AI cost calculator.
Frequently asked questions
What is the model ID for GPT-6?
There is no plain gpt-6 ID. GPT-6 comes in named variants, each with its own ID: gpt-6-astra (the most capable), gpt-6.1-sol and gpt-6-sol (balanced), and gpt-6-luna (cheapest). OpenAI's docs start new projects on gpt-6-astra.
Should I use gpt-5.5 or gpt-5.5-2026-04-23?
The short ID follows OpenAI's default snapshot for that model, which can move to a newer snapshot. The dated ID never changes. Use the dated one when you need the same behavior every run, for evals or regulated workloads, and the short one when you're happy to get updates.
Why would a long prompt cost more than the table says?
On GPT-6, GPT-5.6, GPT-5.5 and GPT-5.4 (and their Pro versions), OpenAI bills a prompt over 272K input tokens at twice the input rate and 1.5 times the output rate, for the whole request. The note under each affected row gives the higher price.
Is gpt-4o still available in the API?
Yes, as of October 8, 2026 gpt-4o (snapshot gpt-4o-2024-08-06) and gpt-4o-mini are listed and not on OpenAI's deprecation list. The older gpt-4o-2024-05-13 snapshot is, and shuts down on October 23, 2026.
Do I use the same ID with Chat Completions and the Responses API?
Yes, the model string is the same on both endpoints. Not every model supports both, though: OpenAI documents the Pro models (gpt-5.5-pro, gpt-5.4-pro) as Responses API only.