🤖
🤖 AI calculators

OpenAI API Cost Calculator (GPT models: per request, month & year)

Results update as you type.

Your numbers

How it works

Cost per request = (uncached input tokens × input price + cached input tokens × cached-input price + output tokens × output price) ÷ 1,000,000, with prices in US$ per 1 million tokens. The cost of requests using Batch API is multiplied by the provider’s discount factor (0.5). Day = request cost × requests per day; month = day × days per month; year = month × 12. “Saved” compares with the same traffic at the plain input and output price. Standard tier, short context (up to 272K input tokens). Longer prompts are billed at higher long-context rates. Regional data-residency endpoints add 10%. Taxes, tools (web search, code execution), image or audio tokens, long-context surcharges and cache-write fees are not included.

OpenAI API prices (US$ per 1M tokens, checked 10 Nov 2026)

AI modelInput priceCached-input priceOutput priceBatch API input / output
gpt-6-astra101505 / 25
gpt-6.1-sol20.1101 / 5
gpt-6.1-terra10.0550.5 / 2.5
gpt-6-sol20.2101 / 5
gpt-6-luna0.10.010.50.05 / 0.25
gpt-5.6-sol40.4202 / 10
gpt-5.6-terra20.2121 / 6
gpt-5.6-luna0.20.021.20.1 / 0.6
gpt-5.550.5302.5 / 15
gpt-5.42.50.25151.25 / 7.5
gpt-5.4-mini0.750.0754.50.375 / 2.25
gpt-5.4-nano0.20.021.250.1 / 0.625
gpt-5-mini0.250.02520.125 / 1
gpt-5-nano0.050.0050.40.025 / 0.2
gpt-4.120.581 / 4
gpt-4.1-mini0.40.11.60.2 / 0.8
gpt-4o-mini0.150.0750.60.075 / 0.3

⚠ Estimates for information only — not financial advice.

FAQ

Why is output so much more expensive than input?

Generating each output token takes a full pass through the model, while input tokens are processed in parallel. OpenAI’s list prices for output are 4 to 8 times the input price, so long answers or reasoning-heavy models drive most of the bill.

When does the Batch API make sense?

For work that can wait up to a day — classifying tickets, summarising archives, generating product descriptions. OpenAI charges half price for batch requests, so moving 100% of such traffic to batch halves its cost.

Checked 10 Nov 2026. OpenAI official API pricing page (https://developers.openai.com/api/docs/pricing), read on 10 Nov 2026. Batch API: 50% off input, cached input and output (asynchronous, results within 24 h).

🤖 All AI calculators →🌍 Calculators by country →