OpenAI API pricing
Every OpenAI model we track, per 1M tokens, from the official pricing page.
Quick answer: OpenAI API prices run from $0.10 in and $0.50 out per 1M tokens (GPT-6 Luna) up to $10 in and $50 out (GPT-6 Astra). Its cheapest model is number 1 of 29 on our full list. Checked Oct 16, 2026 against the official pricing page.
| Model | Input | Cached | Output | Context |
|---|---|---|---|---|
| GPT-6 Lunagpt-6-lunaPrompts up to 272K. | $0.10 | $0.01 | $0.50 | 1.05M |
| GPT-6.1 Solgpt-6.1-solPrompts up to 272K. Longer prompts cost $4 in, $15 out. | $2 | $0.10 | $10 | 1.05M |
| GPT-6 Solgpt-6-solPrompts up to 272K. | $2 | $0.20 | $10 | 1.05M |
| GPT-5.6 Terragpt-5.6-terraPrompts up to 272K. | $2 | $0.20 | $12 | n/a |
| GPT-5.6 Solgpt-5.6-solPromotional price, at least through Nov 21, 2026. | $4 | $0.40 | $20 | n/a |
| GPT-5.5gpt-5.5Prompts up to 272K. | $5 | $0.50 | $30 | n/a |
| GPT-6 Astragpt-6-astraPrompts up to 272K. Longer prompts cost $20 in, $75 out. | $10 | $1 | $50 | 1.05M |
GPT-6 Lunagpt-6-luna
1.05M context$0.10Input
$0.50Output
$0.01Cached
GPT-6.1 Solgpt-6.1-sol
1.05M context$2Input
$10Output
$0.10Cached
GPT-6 Solgpt-6-sol
1.05M context$2Input
$10Output
$0.20Cached
GPT-5.6 Terragpt-5.6-terra
$2Input
$12Output
$0.20Cached
GPT-5.6 Solgpt-5.6-sol
$4Input
$20Output
$0.40Cached
GPT-5.5gpt-5.5
$5Input
$30Output
$0.50Cached
GPT-6 Astragpt-6-astra
1.05M context$10Input
$50Output
$1Cached
How it compares
Cheapest models from other providers, blended per 1M tokens: Qwen3.8 Flash (Qwen) $0.23 · Mistral Small 4 (Mistral) $0.26 · DeepSeek V4.1 Flash (DeepSeek) $0.53. See the full API price table, the best model for each task or the plan vs API calculator.
FAQ
How much does the OpenAI API cost?
From $0.10 input and $0.50 output per 1M tokens for GPT-6 Luna, up to $10 and $50 for GPT-6 Astra.
What is the cheapest OpenAI model?
GPT-6 Luna, with a blended price of $0.20 per 1M tokens (3 parts input to 1 part output).
Is a subscription cheaper than the OpenAI API?
It depends on how much you use it. Try our plan vs API calculator with your own usage.
Other providers: Anthropic · Google · Meta · DeepSeek · Qwen · Mistral · xAI