OpenAI API Pricing: Every Model, With Cost Examples
Short answer: OpenAI’s API charges per million tokens (MTok). The current flagship, GPT-6.2 Astra, costs $8 per million input tokens and $40 per million output tokens. GPT-6.2 Sol, the everyday workhorse, costs $2 and $10. The cheapest current model, GPT-6 Luna, costs $0.10 and $0.50. Batch requests are half price, and cached input costs a fraction of fresh input.
Prices come from OpenAI’s API pricing page, checked on 21 November 2026, at standard speed and short context length.
OpenAI API pricing for the main models
| Model | Input / MTok | Output / MTok | Cached input / MTok | Batch (input / output) |
|---|---|---|---|---|
| GPT-6.2 Astra | $8.00 | $40.00 | $0.40 | $4.00 / $20.00 |
| GPT-6.2 Sol | $2.00 | $10.00 | $0.10 | $1.00 / $5.00 |
| GPT-6.1 Terra | $1.00 | $5.00 | $0.05 | $0.50 / $2.50 |
| GPT-6 Luna | $0.10 | $0.50 | $0.01 | $0.05 / $0.25 |
| GPT-6 Astra | $10.00 | $50.00 | $1.00 | $5.00 / $25.00 |
| GPT-5.6 Sol | $4.00 | $20.00 | $0.40 | $2.00 / $10.00 |
| GPT-5.5 | $5.00 | $30.00 | $0.50 | n/a |
| chat-latest (the ChatGPT model) | $5.00 | $30.00 | $0.50 | n/a |
Long-context requests cost more: on the long-context price list, GPT-6.2 Sol is $4 input and $15 output, and GPT-6.2 Astra is $16 and $60. OpenAI also notes that GPT-5.6 Sol’s promotional pricing runs until 30 November 2026.

Is “ChatGPT API pricing” the same thing?
Yes, in practice. There’s no separate ChatGPT API: developers use the OpenAI API, and the model behind ChatGPT is listed as chat-latest at $5 input and $30 output per million tokens. For most apps, GPT-6.2 Sol is cheaper and is built for API use. ChatGPT subscriptions (Plus, Pro and Business) are billed separately from API usage.
Cost examples
Token counts are the only way to estimate a bill. A token is roughly three-quarters of an English word, so 1,000 words is about 1,300 tokens. Here are two illustrative workloads at standard rates without caching:
A support chatbot: 10,000 conversations a month
Assume 2,000 input tokens and 500 output tokens per conversation. That’s 20 million input and 5 million output tokens a month.
| Model | Monthly cost |
|---|---|
| GPT-6 Luna | $4.50 |
| GPT-6.1 Terra | $45 |
| GPT-6.2 Sol | $90 |
| GPT-6.2 Astra | $360 |
Content drafts: 1,000 articles a month
Assume 3,000 input tokens (brief and examples) and 2,000 output tokens per article: 3 million input and 2 million output tokens.
| Model | Monthly cost |
|---|---|
| GPT-6 Luna | $1.30 |
| GPT-6.1 Terra | $13 |
| GPT-6.2 Sol | $26 |
| GPT-6.2 Astra | $104 |
The lesson from both: model choice moves the bill far more than volume does. Start with the cheapest model that passes your quality checks, and only move up for the tasks that need it.
Other OpenAI API costs
- Web search tool: $10 per 1,000 calls, plus search content tokens at the model’s rate.
- File search: $2.50 per 1,000 tool calls, and storage at $0.10 per GB per day after the first free GB.
- Hosted Shell and Code Interpreter containers: from $0.03 per 20-minute session for 1 GB.
- Image generation (gpt-image-2.6): $5 per million text input tokens, $8 per million image input tokens and $30 per million output tokens.
- Regional processing (data residency) endpoints: a 10% uplift for models released on or after 5 March 2026.
How to cut your OpenAI API bill
- Use Batch for anything that doesn’t need an instant answer: it’s 50% off.
- Keep a stable prompt prefix (instructions, examples) so repeated input is billed at the cached rate, which is 95% cheaper on GPT-6.2 Sol.
- Route easy tasks (classification, extraction, short replies) to GPT-6 Luna or GPT-6.1 Terra.
- Cap output length. Output tokens cost five times input on most models.
- Check background request discounts: for eligible models, OpenAI lists 30% off for a 2-hour completion window and 40% off for 8 hours.
Comparing providers? See Claude Code pricing for Anthropic’s side, and ChatGPT for SEO if you use these models for content.
Frequently asked questions
How much does the OpenAI API cost?
It depends on the model. GPT-6.2 Sol costs $2 per million input tokens and $10 per million output tokens; GPT-6 Luna costs $0.10 and $0.50; GPT-6.2 Astra costs $8 and $40.
Is the OpenAI API free?
No. You pay per token used. ChatGPT’s free plan doesn’t include API access.
What is the cheapest OpenAI model?
Among current models, GPT-6 Luna at $0.10 input and $0.50 output per million tokens, or half that through Batch.
How much does ChatGPT’s model cost through the API?
The chat-latest model costs $5 per million input tokens and $30 per million output tokens.
Does ChatGPT Plus include API credits?
No. ChatGPT subscriptions and API usage are billed separately.
How do I estimate tokens?
Roughly 1,000 English words equal about 1,300 tokens. Count your typical prompt and reply, then multiply by monthly volume.
Prices checked 21 November 2026. Source: OpenAI API pricing.






