OpenAI API pricing and cost calculator
Estimate OpenAI API spend for GPT-6, GPT-5.x and GPT-4.x models, including cached input pricing.
Prices last verified against official provider pages on . How we verify prices. Written by the Chelure Enterprises Editorial Team.
OpenAI API prices per million tokens
| Model | Input | Output | Cached input |
|---|---|---|---|
| GPT-6 Astra | $10.00 | $50.00 | $1.00 |
| GPT-6.1 Sol | $2.00 | $10.00 | $0.10 |
| GPT-6.1 Terra | $1.00 | $5.00 | $0.05 |
| GPT-6 Luna | $0.10 | $0.50 | $0.01 |
| GPT-5.6 Sol | $4.00 | $20.00 | $0.40 |
| GPT-5.5 | $5.00 | $30.00 | $0.50 |
| GPT-5.5 Pro | $30.00 | $180.00 | — |
| GPT-5.4 | $2.50 | $15.00 | $0.25 |
| GPT-5.4 mini | $0.75 | $4.50 | $0.075 |
| GPT-5.4 nano | $0.20 | $1.25 | $0.02 |
| GPT-5 mini | $0.25 | $2.00 | $0.025 |
| GPT-5 nano | $0.05 | $0.40 | $0.0050 |
| GPT-4.1 | $2.00 | $8.00 | $0.50 |
| GPT-4o | $2.50 | $10.00 | $1.25 |
| GPT-4o mini | $0.15 | $0.60 | $0.075 |
Source: OpenAI API pricing, standard tier, short-context pricing (up to 272K input tokens where a long-context tier exists), verified November 13, 2026. A dash means OpenAI lists no cached rate.
Choosing between GPT tiers
OpenAI sells each generation in several sizes. The large models cost five to a hundred times more per token than the small ones, and the Pro models cost the most of all. For most production workloads the cost-effective approach is to start with a small or mid-size model, measure quality on your own data, and move up only where the cheaper model fails.
Estimating usage
If you do not know your token counts yet, paste a typical prompt into the token counter to get a rough figure, then adjust output tokens to the length of reply you expect. Remember that reasoning models may produce additional hidden reasoning tokens that are billed as output, so real bills for those models can be higher than a simple prompt-and-reply estimate.
Frequently asked questions
How much does the OpenAI API cost?
Prices are per million tokens. As of November 13, 2026, GPT-6.1 Sol is $2 input and $10 output, GPT-5.5 is $5 and $30, and GPT-5.4 nano is $0.20 and $1.25.
What is cached input on OpenAI models?
OpenAI lists a lower price for input tokens that match a recently used prompt prefix. Some models, such as the Pro models, have no cached rate listed, and in that case the calculator charges the full input price.
Do the listed prices apply to long prompts?
The flagship prices used here are for the short-context tier, up to 272K input tokens. Longer prompts can be billed at a different rate, so check OpenAI's page for very long inputs.
Does the calculator include batch pricing for OpenAI?
No. The calculator only applies a batch discount where we have verified it on the provider's page, which is currently Claude. Check OpenAI's documentation for its batch terms.
Cite this page: OpenAI API pricing. Createchz AI Tools, verified November 13, 2026. https://createchz.com/ai-costs/openai-api-pricing/