OpenAI API pricing
The OpenAI API has no monthly fee and bills by use. Per 1M tokens, GPT-6 Astra costs $10 input and $50 output, GPT-6.1 Sol $2 and $10, and GPT-6 Luna $0.10 and $0.50. The Batch API halves those prices.
Plans and prices
| Plan | Billed monthly | Billed yearly |
|---|---|---|
| Pay as you goFor individuals | Pay as you go | |
What each plan includes
Pay as you go
- $0 monthly fee; you pay for the tokens you use
- The Batch API costs 50% of the standard price for input and output (GPT-6 Astra: $5 input, $25 output)
- Cached input per 1M tokens: Astra $1.00, Sol $0.10, Luna $0.01
Usage rates
| Item | Unit | Price |
|---|---|---|
| GPT-6 Astra input | 1M tokens | $10 |
| GPT-6 Astra cached input | 1M tokens | $1 |
| GPT-6 Astra output | 1M tokens | $50 |
| GPT-6.1 Sol input | 1M tokens | $2 |
| GPT-6.1 Sol cached input | 1M tokens | $0.10 |
| GPT-6.1 Sol output | 1M tokens | $10 |
| GPT-6 Luna input | 1M tokens | $0.10 |
| GPT-6 Luna cached input | 1M tokens | $0.01 |
| GPT-6 Luna output | 1M tokens | $0.50 |
| GPT-Image-2.6 Sunburst input (image tokens) | 1M tokens | $8 |
| GPT-Image-2.6 Sunburst output (image tokens) | 1M tokens | $30 |
Questions people ask
Is the OpenAI API free?
No. There is no monthly fee and you pay for the tokens you use. GPT-6 Luna, the lowest-priced model, costs $0.10 input and $0.50 output per 1M tokens.
How much does the GPT-6 Astra API cost?
$10 per 1M input tokens, $1 per 1M cached input tokens and $50 per 1M output tokens. GPT-6.1 Sol is $2 input and $10 output; GPT-6 Luna is $0.10 and $0.50.
How much does the Batch API save?
50% on input and output. GPT-6 Astra drops to $5 input and $25 output per 1M tokens, GPT-6.1 Sol to $1 and $5.
Which OpenAI API model is the cheapest?
GPT-6 Luna, at $0.10 per 1M input tokens and $0.50 per 1M output tokens. Cached input is $0.01 per 1M tokens.
Compare ai model apis
| Tool | Free plan | Lowest paid plan (a month) | Team plan (per seat a month) | Plans |
|---|---|---|---|---|
| OpenAI APIOpenAI | No | Pay as you go | – | Pay as you go |
| Claude APIAnthropic | No | Pay as you go | – | Pay as you go |
| Gemini APIGoogle | Yes | Pay as you go | – | Free · Paid · Enterprise |
| DeepSeek APIDeepSeek | No | Pay as you go | – | Pay as you go |
Sources
- developers.openai.com/api/docs/pricing read November 17, 2026
- developers.openai.com/api/docs/models read November 17, 2026