AI pricing · November 2026
OpenAI API pricing
| Provider | Cached in | Context | ||||
|---|---|---|---|---|---|---|
| GPT-6 Luna long context (over 272K tokens): $0.20 in / $0.75 out; batch 50% off | OpenAI | $0.100 | $0.500 | $0.010 | — | $2.00 |
| GPT-6.1 Terra long context (over 272K tokens): $2 in / $7.50 out; batch 50% off | OpenAI | $1.00 | $5.00 | $0.050 | — | $20.00 |
| GPT-6.1 Sol long context (over 272K tokens): $4 in / $15 out; batch 50% off | OpenAI | $2.00 | $10.00 | $0.100 | — | $40.00 |
| GPT-5.3 Codex Codex model; fast mode costs 2x | OpenAI | $1.75 | $14.00 | $0.175 | — | $45.50 |
| GPT-6 Astra long context (over 272K tokens): $20 in / $75 out; batch 50% off | OpenAI | $10.00 | $50.00 | $1.00 | — | $200 |
Cached input and batch discounts
| Model | Input $/1M | Cached input $/1M | Cache saving | Batch |
|---|---|---|---|---|
| GPT-6 Astra | $10 | $1 | 90% off | 50% off |
| GPT-6.1 Sol | $2 | $0.10 | 95% off | 50% off |
| GPT-6.1 Terra | $1 | $0.05 | 95% off | 50% off |
| GPT-6 Luna | $0.10 | $0.01 | 90% off | 50% off |
| GPT-5.3 Codex | $1.75 | $0.175 | 90% off | — |
What a typical workload costs
An app that sends 1,000 requests a day, each with a 2,000-token prompt and a 500-token answer, uses 60M input and 15M output tokens in 30 days. If 1,500 of those prompt tokens are the same system prompt and context every time, prompt caching bills 45M of them at the cached rate (cache writes and storage not included). Batch is the same traffic sent as asynchronous batch jobs.
| Model | Per month | With caching | With batch |
|---|---|---|---|
| GPT-6 Astra | $1,350 | $945 | $675 |
| GPT-6.1 Sol | $270 | $185 | $135 |
| GPT-6.1 Terra | $135 | $92.25 | $67.50 |
| GPT-6 Luna | $13.50 | $9.45 | $6.75 |
| GPT-5.3 Codex | $315 | $244 | — |
Closest-priced models from other providers
Matched on a 3:1 mix of input to output tokens. Open-model hosts are left out.
| OpenAI model | In / out $/1M | Closest elsewhere |
|---|---|---|
| GPT-6 Astra | $10 / $50 | Claude Fable 5.1 (Anthropic) $10 / $50 · Gemini 3.1 Pro Preview (Google) $2 / $12 |
| GPT-6.1 Sol | $2 / $10 | Claude Sonnet 5.5 (Anthropic) $2 / $10 · Gemini 4 Argon (Google) $2 / $10 |
| GPT-6.1 Terra | $1 / $5 | Claude Haiku 4.5 (Anthropic) $1 / $5 · DeepSeek V4 Pro (DeepSeek) $1.32 / $3.96 |
| GPT-6 Luna | $0.10 / $0.50 | Claude Haiku 5.5 (Anthropic) $0.10 / $0.50 · Ministral 3 14B (Mistral) $0.20 / $0.20 |
| GPT-5.3 Codex | $1.75 / $14 | Gemini 3.1 Pro Preview (Google) $2 / $12 · Claude Sonnet 5.5 (Anthropic) $2 / $10 |
Source: OpenAI pricing, checked 2026-11-02. To price a real prompt, paste it into the token counter.
FAQ
How much does the OpenAI API cost?+
OpenAI charges per token. On 2026-11-02 its official pricing page listed, per 1M tokens: GPT-6 Astra $10 input / $50 output, GPT-6.1 Sol $2 input / $10 output, GPT-6.1 Terra $1 input / $5 output, GPT-6 Luna $0.10 input / $0.50 output and GPT-5.3 Codex $1.75 input / $14 output.
What is the cheapest OpenAI model?+
GPT-6 Luna: $0.10 per 1M input tokens and $0.50 per 1M output tokens. For the example workload on this page (30,000 requests a month) that is about $13.50 a month, against $1,350 on GPT-6 Astra, the most expensive OpenAI model here.
Does OpenAI have prompt caching or cheaper cached input?+
Yes. Cached input tokens cost $1 on GPT-6 Astra (90% less than regular input), $0.10 on GPT-6.1 Sol (95% less than regular input), $0.05 on GPT-6.1 Terra (95% less than regular input) and $0.01 on GPT-6 Luna (90% less than regular input).
Does OpenAI offer a batch discount?+
Yes: 50% off for asynchronous batch requests on GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra and GPT-6 Luna. Batch requests are processed in the background instead of answered right away, so they suit evals, backfills and bulk summaries rather than chat.
How does GPT-6 Astra compare on price with other AI APIs?+
At $10 input / $50 output per 1M tokens, the closest-priced models from other providers are Claude Fable 5.1 (Anthropic, $10 / $50) and Gemini 3.1 Pro Preview (Google, $2 / $12). Price per token isn't the whole bill: compare quality on your own prompts, and how many tokens each model uses for the same task.
How current are these prices?+
They were copied from OpenAI's official pricing page on 2026-11-02, and the month in this page's title is that check date. Prices change often, so confirm on the official page before you commit to a budget.
Other providers
Claude API pricing · Gemini API pricing · Grok API pricing · Mistral API pricing · DeepSeek API pricing · Groq API pricing · Together AI API pricing · Fireworks AI API pricing · All AI model prices compared