Skip to content
AI Dev Toolkit.
Esc
  • AI Token CounterCount tokens for GPT, Claude, Gemini, DeepSeek, Qwen and more.Tool
  • LLM API Cost CalculatorEstimate per-request, daily and monthly API costs.Tool
  • AI Model ComparisonCompare prices, context windows and features across models.Tool
  • AI Model Pricing PagesSpecs, real costs and cheaper alternatives for popular models.Tool
  • Context Window CheckerSee whether your text fits each model's context window.Tool
  • Subscription vs API CalculatorFind out whether a chat plan or the API is cheaper for you.Tool
  • GPU / VRAM CalculatorCheck how much VRAM a local model needs and which GPUs fit.Tool
  • Claude Code Error DatabaseExact Claude Code error messages with tested fixes.Tool

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

Filter and sort OpenAI models in the comparison table

Cheapest

gpt-oss-20bOpenAI$0.018 in · $0.09 out

Largest context

GPT-5.4OpenAI1,050,000 tokens

Newest

GPT-6.1 SolOpenAI2026-09-29

Line-up

Every OpenAI model and price

ModelInput / 1MOutput / 1MContextReleased
GPT-6.1 Sol$2$101,050,0002026-09-29
GPT-6.1 Sol Pro$2$101,050,0002026-09-29
GPT-6 Luna$0.10$0.501,050,0002026-09-22
GPT-6 Luna Pro$0.10$0.501,050,0002026-09-22
GPT-6 Sol$2$101,050,0002026-09-22
GPT-6 Sol Pro$2$101,050,0002026-09-22
GPT-6 Astra$10$501,050,0002026-09-04
GPT-6 Astra Pro$10$501,050,0002026-09-04
GPT-5.6 Luna$0.20$1.201,050,0002026-07-09
GPT-5.6 Luna Pro$0.20$1.201,050,0002026-07-09
GPT-5.6 Sol$2$101,050,0002026-07-09
GPT-5.6 Sol Pro$2$101,050,0002026-07-09
GPT-5.6 Terra$2$121,050,0002026-07-09
GPT-5.6 Terra Pro$2$121,050,0002026-07-09
GPT Chat Latest$5$30400,0002026-05-05
GPT-5.5$5$301,050,0002026-04-24
GPT-5.5 Pro$30$1801,050,0002026-04-24
GPT-5.4 Mini$0.75$4.50400,0002026-03-17
GPT-5.4 Nano$0.20$1.25400,0002026-03-17
GPT-5.4$2.50$151,050,0002026-03-05
GPT-5.4 Pro$30$1801,050,0002026-03-05
GPT-5.3-Codex$1.75$14400,0002026-02-24
GPT-5.2-Codex$1.75$14400,0002026-01-14
GPT-5.2$1.75$14400,0002025-12-10
GPT-5.2 Chat$1.75$14128,0002025-12-10
GPT-5.2 Pro$21$168400,0002025-12-10
GPT-5.1-Codex-Max$1.25$10400,0002025-12-04
GPT-5.1$1.25$10400,0002025-11-13
GPT-5.1-Codex$1.25$10400,0002025-11-13
GPT-5.1-Codex-Mini$0.25$2400,0002025-11-13
gpt-oss-safeguard-20b$0.075$0.30131,0722025-10-29
GPT-5 Pro$15$120400,0002025-10-06
GPT-5$1.25$10400,0002025-08-07
GPT-5 Mini$0.25$2400,0002025-08-07
GPT-5 Nano$0.05$0.40400,0002025-08-07
gpt-oss-120b$0.037$0.17131,0722025-08-05
gpt-oss-20b$0.018$0.09131,0722025-08-05
o3 Pro$20$80200,0002025-06-10
o3$2$8200,0002025-04-16
o4 Mini$1.10$4.40200,0002025-04-16
o4 Mini High$1.10$4.40200,0002025-04-16
GPT-4.1$2$81,047,5762025-04-14
GPT-4.1 Mini$0.40$1.601,047,5762025-04-14
GPT-4.1 Nano$0.10$0.401,047,5762025-04-14
o1-pro$150$600200,0002025-03-19
o3 Mini High$1.10$4.40200,0002025-02-12
o3 Mini$1.10$4.40200,0002025-01-31
o1$15$60200,0002024-12-17
GPT-4o (2024-11-20)$2.50$10128,0002024-11-20
GPT-4o (2024-08-06)$2.50$10128,0002024-08-06
GPT-4o-mini$0.15$0.60128,0002024-07-18
GPT-4o-mini (2024-07-18)$0.15$0.60128,0002024-07-18
GPT-4o$2.50$10128,0002024-05-13
GPT-4o (2024-05-13)$5$15128,0002024-05-13
GPT-4 Turbo$10$30128,0002024-04-09
GPT-3.5 Turbo (older v0613)$1$24,0952024-01-25
GPT-3.5 Turbo Instruct$1.50$24,0952023-09-28
GPT-3.5 Turbo 16k$3$416,3852023-08-28
GPT-3.5 Turbo$0.50$1.5016,3852023-05-28
GPT-4$30$608,1912023-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.

Updated

Sources: OpenRouter models API and LiteLLM model prices and context windows, checked daily. Not affiliated with OpenAI. Confirm critical numbers on the provider’s pricing page. See our methodology.