Provider
OpenAI API pricing: every model compared
OpenAI offers 60 models through its API in our data, priced from $0.018 to $150 per million input tokens. The newest is GPT-6.1 Sol, first listed on 2026-09-29.
- Models
- 60
- Cheapest input
- $0.018
- Priciest input
- $150
- Largest context
- 1,050,000
- With caching
- 46 of 60
- Open weights
- 3 of 60
Cheapest
gpt-oss-20bOpenAI$0.018 in · $0.09 outLargest context
GPT-5.4OpenAI1,050,000 tokensLine-up
Every OpenAI model and price
| Model | Input / 1M | Output / 1M | Context | Released |
|---|---|---|---|---|
| GPT-6.1 Sol | $2 | $10 | 1,050,000 | 2026-09-29 |
| GPT-6.1 Sol Pro | $2 | $10 | 1,050,000 | 2026-09-29 |
| GPT-6 Luna | $0.10 | $0.50 | 1,050,000 | 2026-09-22 |
| GPT-6 Luna Pro | $0.10 | $0.50 | 1,050,000 | 2026-09-22 |
| GPT-6 Sol | $2 | $10 | 1,050,000 | 2026-09-22 |
| GPT-6 Sol Pro | $2 | $10 | 1,050,000 | 2026-09-22 |
| GPT-6 Astra | $10 | $50 | 1,050,000 | 2026-09-04 |
| GPT-6 Astra Pro | $10 | $50 | 1,050,000 | 2026-09-04 |
| GPT-5.6 Luna | $0.20 | $1.20 | 1,050,000 | 2026-07-09 |
| GPT-5.6 Luna Pro | $0.20 | $1.20 | 1,050,000 | 2026-07-09 |
| GPT-5.6 Sol | $2 | $10 | 1,050,000 | 2026-07-09 |
| GPT-5.6 Sol Pro | $2 | $10 | 1,050,000 | 2026-07-09 |
| GPT-5.6 Terra | $2 | $12 | 1,050,000 | 2026-07-09 |
| GPT-5.6 Terra Pro | $2 | $12 | 1,050,000 | 2026-07-09 |
| GPT Chat Latest | $5 | $30 | 400,000 | 2026-05-05 |
| GPT-5.5 | $5 | $30 | 1,050,000 | 2026-04-24 |
| GPT-5.5 Pro | $30 | $180 | 1,050,000 | 2026-04-24 |
| GPT-5.4 Mini | $0.75 | $4.50 | 400,000 | 2026-03-17 |
| GPT-5.4 Nano | $0.20 | $1.25 | 400,000 | 2026-03-17 |
| GPT-5.4 | $2.50 | $15 | 1,050,000 | 2026-03-05 |
| GPT-5.4 Pro | $30 | $180 | 1,050,000 | 2026-03-05 |
| GPT-5.3-Codex | $1.75 | $14 | 400,000 | 2026-02-24 |
| GPT-5.2-Codex | $1.75 | $14 | 400,000 | 2026-01-14 |
| GPT-5.2 | $1.75 | $14 | 400,000 | 2025-12-10 |
| GPT-5.2 Chat | $1.75 | $14 | 128,000 | 2025-12-10 |
| GPT-5.2 Pro | $21 | $168 | 400,000 | 2025-12-10 |
| GPT-5.1-Codex-Max | $1.25 | $10 | 400,000 | 2025-12-04 |
| GPT-5.1 | $1.25 | $10 | 400,000 | 2025-11-13 |
| GPT-5.1-Codex | $1.25 | $10 | 400,000 | 2025-11-13 |
| GPT-5.1-Codex-Mini | $0.25 | $2 | 400,000 | 2025-11-13 |
| gpt-oss-safeguard-20b | $0.075 | $0.30 | 131,072 | 2025-10-29 |
| GPT-5 Pro | $15 | $120 | 400,000 | 2025-10-06 |
| GPT-5 | $1.25 | $10 | 400,000 | 2025-08-07 |
| GPT-5 Mini | $0.25 | $2 | 400,000 | 2025-08-07 |
| GPT-5 Nano | $0.05 | $0.40 | 400,000 | 2025-08-07 |
| gpt-oss-120b | $0.037 | $0.17 | 131,072 | 2025-08-05 |
| gpt-oss-20b | $0.018 | $0.09 | 131,072 | 2025-08-05 |
| o3 Pro | $20 | $80 | 200,000 | 2025-06-10 |
| o3 | $2 | $8 | 200,000 | 2025-04-16 |
| o4 Mini | $1.10 | $4.40 | 200,000 | 2025-04-16 |
| o4 Mini High | $1.10 | $4.40 | 200,000 | 2025-04-16 |
| GPT-4.1 | $2 | $8 | 1,047,576 | 2025-04-14 |
| GPT-4.1 Mini | $0.40 | $1.60 | 1,047,576 | 2025-04-14 |
| GPT-4.1 Nano | $0.10 | $0.40 | 1,047,576 | 2025-04-14 |
| o1-pro | $150 | $600 | 200,000 | 2025-03-19 |
| o3 Mini High | $1.10 | $4.40 | 200,000 | 2025-02-12 |
| o3 Mini | $1.10 | $4.40 | 200,000 | 2025-01-31 |
| o1 | $15 | $60 | 200,000 | 2024-12-17 |
| GPT-4o (2024-11-20) | $2.50 | $10 | 128,000 | 2024-11-20 |
| GPT-4o (2024-08-06) | $2.50 | $10 | 128,000 | 2024-08-06 |
| GPT-4o-mini | $0.15 | $0.60 | 128,000 | 2024-07-18 |
| GPT-4o-mini (2024-07-18) | $0.15 | $0.60 | 128,000 | 2024-07-18 |
| GPT-4o | $2.50 | $10 | 128,000 | 2024-05-13 |
| GPT-4o (2024-05-13) | $5 | $15 | 128,000 | 2024-05-13 |
| GPT-4 Turbo | $10 | $30 | 128,000 | 2024-04-09 |
| GPT-3.5 Turbo (older v0613) | $1 | $2 | 4,095 | 2024-01-25 |
| GPT-3.5 Turbo Instruct | $1.50 | $2 | 4,095 | 2023-09-28 |
| GPT-3.5 Turbo 16k | $3 | $4 | 16,385 | 2023-08-28 |
| GPT-3.5 Turbo | $0.50 | $1.50 | 16,385 | 2023-05-28 |
| GPT-4 | $30 | $60 | 8,191 | 2023-05-28 |
Prices in US dollars per 1M tokens, newest first. Release dates are when our source first listed the model.
Overview
OpenAI’s pricing at a glance
The spread between OpenAI’s cheapest and most expensive model is large: o1-pro costs 8333× more per input token than gpt-oss-20b. Picking the smallest model that does the job well is usually the biggest saving available, ahead of any discount.
46 of 60 of the line-up has a cached-input price, which helps chatbots and agents that resend the same instructions. 44 of 60 can run through a batch API at a discount, for work that can wait up to a day. 50 of 60 accept images as input.
FAQ
OpenAI API questions
How much does the OpenAI API cost?
OpenAI's 60 models range from $0.018 to $150 per million input tokens, and output costs more than input on almost every model. The exact bill depends on your token volumes, which you can estimate in the LLM cost calculator.
What is OpenAI's cheapest model?
By blended price (three parts input to one part output) it is gpt-oss-20b, at $0.018 input and $0.09 output per million tokens. The most expensive is o1-pro.
Which OpenAI model has the largest context window?
GPT-5.4, with 1,050,000 tokens per request.
Does OpenAI offer prompt caching or batch discounts?
In our data, 46 of 60 of OpenAI's models have a published cached-input price and 44 of 60 have a published batch price. Both can cut costs substantially for repeated prompts or work that can wait.