AI Cost
OpenAI API Pricing Calculator
Estimate your OpenAI API cost per call, per day, and over a 30-day month using verified per-million-token rates. Select a model, context band, and processing tier, then enter your fresh input, cached input, and output token counts.
Result
Pick a model, context band and tier, enter your tokens, then press Calculate.
Monthly figure = daily cost × 30. Only tiers the vendor lists for the chosen model and context band appear in the tier menu.
OpenAI API Price Sheet (USD per 1M Tokens)
| Model | Context | Tier | Input / 1M | Output / 1M |
|---|---|---|---|---|
| gpt-6.2-astra | short | standard | $8.00 | $40.00 |
| gpt-6.2-sol | short | standard | $2.00 | $10.00 |
| gpt-6-astra | short | standard | $10.00 | $50.00 |
| gpt-6.1-sol | short | standard | $2.00 | $10.00 |
| gpt-6.2-astra | short | batch | $4.00 | $20.00 |
| gpt-6.2-sol | short | batch | $1.00 | $5.00 |
| gpt-6-astra | short | batch | $5.00 | $25.00 |
| gpt-6.1-sol | short | batch | $1.00 | $5.00 |
| gpt-6-astra | short | flex (beta) | $5.00 | $25.00 |
| gpt-6.1-sol | short | flex (beta) | $1.00 | $5.00 |
| gpt-6.1-terra | short | flex (beta) | $0.50 | $2.50 |
| gpt-6-luna | short | flex (beta) | $0.05 | $0.25 |
| gpt-6.2-astra | short | fast (formerly priority) | $16.00 | $80.00 |
| gpt-6.2-sol | short | fast (formerly priority) | $4.00 | $20.00 |
| gpt-6-astra | short | fast (formerly priority) | $20.00 | $100.00 |
| gpt-6.1-sol | short | fast (formerly priority) | $4.00 | $20.00 |
| gpt-6-astra | short | ultra-fast | $60.00 | $300.00 |
| gpt-6.1-sol | short | ultra-fast | $12.00 | $60.00 |
| gpt-6.2-astra | long | standard | $16.00 | $60.00 |
| gpt-6.2-sol | long | standard | $4.00 | $15.00 |
| gpt-6-astra | long | standard | $20.00 | $75.00 |
| gpt-6.1-sol | long | standard | $4.00 | $15.00 |
| gpt-6.2-astra | long | batch | $8.00 | $30.00 |
| gpt-6.2-sol | long | batch | $2.00 | $7.50 |
| gpt-6-astra | long | batch | $10.00 | $37.50 |
| gpt-6.1-sol | long | batch | $2.00 | $7.50 |
| gpt-6-astra | long | flex (beta) | $10.00 | $37.50 |
| gpt-6.1-sol | long | flex (beta) | $2.00 | $7.50 |
| gpt-6.1-terra | long | flex (beta) | $1.00 | $3.75 |
| gpt-6-luna | long | flex (beta) | $0.10 | $0.375 |
| gpt-6.2-astra | long | fast (formerly priority) | $32.00 | $120.00 |
| gpt-6.2-sol | long | fast (formerly priority) | $8.00 | $30.00 |
| gpt-6-astra | long | fast (formerly priority) | $40.00 | $150.00 |
| gpt-6.1-sol | long | fast (formerly priority) | $8.00 | $30.00 |
| gpt-6-astra | long | ultra-fast | $120.00 | $450.00 |
| gpt-6.1-sol | long | ultra-fast | $24.00 | $90.00 |
| gpt-6.1-terra | short | standard | $1.00 | $5.00 |
| gpt-6.1-terra | short | batch | $0.50 | $2.50 |
| gpt-6.1-terra | short | fast (formerly priority) | $2.00 | $10.00 |
| gpt-6-luna | short | standard | $0.10 | $0.50 |
| gpt-6-luna | short | batch | $0.05 | $0.25 |
| gpt-6-luna | short | fast (formerly priority) | $0.20 | $1.00 |
| gpt-6.1-terra | long | standard | $2.00 | $7.50 |
| gpt-6.1-terra | long | batch | $1.00 | $3.75 |
| gpt-6.1-terra | long | fast (formerly priority) | $4.00 | $15.00 |
| gpt-6-luna | long | standard | $0.20 | $0.75 |
| gpt-6-luna | long | batch | $0.10 | $0.375 |
| gpt-6-luna | long | fast (formerly priority) | $0.40 | $1.50 |
USD per 1M tokens. Rates are taken from OpenAI's official API pricing page (https://developers.openai.com/api/docs/pricing) as checked on 2026-12-03, and OpenAI can change prices at any time. Short context covers up to 272K input tokens and long context covers more than 272K, and 12-hour cache-write prices are not included in this table.
How the Calculator Estimates Your Cost
FAQ
How OpenAI API Pricing Works
OpenAI charges for API usage per million tokens, splitting each request into input tokens, cached input tokens, and output tokens. Output tokens carry a higher rate than input tokens because generating responses requires more compute. Depending on the model, OpenAI also separates rates into short and long context bands and offers processing tiers such as standard, batch, flex, fast, and ultra-fast.
Choosing the right tier and using prompt caching can lower your OpenAI API cost significantly. Batch processing cuts standard rates in half for asynchronous workloads, while flex offers lower rates on supported models such as gpt-6.1-sol, gpt-6.1-terra, and gpt-6-luna. Cached input tokens are billed at a steep discount compared with fresh input tokens, for example $0.40 versus $8.00 per million tokens on gpt-6.2-astra.
Related calculators
- Token Cost CalculatorEstimate LLM API cost per call, day, and 30-day month across Anthropic, OpenAI, and Google models.
- Claude API Pricing CalculatorEstimate per-call, daily, and 30-day Claude API costs across Sonnet, Opus, Haiku, caching, and batch tiers.
- ChatGPT Plus vs Claude Pro CalculatorCompare the $20 subscriptions, annual Claude Pro pricing, and your API breakeven token volume.
This tool runs as a single file, no external requests, nothing stored.