Free Tool
OpenAI API Cost Calculator
Estimate your monthly and annual OpenAI GPT API cost from your request volume and average token counts. See the full OpenAI listing.
不确定你的提示词用了多少个 token?先把文本粘贴到Token 计算器获取精确计数。
公式: 月度成本 = 月度请求数 × ((平均输入 token 数 × 输入单价) + (平均输出 token 数 × 输出单价)) / 1,000,000
OpenAI GPT pricing
Published list price per million tokens for OpenAI's current GPT models.
| Model | Input $/M tokens | Output $/M tokens |
|---|---|---|
| gpt-5.4 | $2.5 | $15 |
| gpt-6-astra | $10 | $50 |
| gpt-6-luna | $0.1 | $0.5 |
| gpt-6-sol | $2 | $10 |
| gpt-5.6 | $5 | $30 |
| gpt-5.6-luna | $0.2 | $1.2 |
| gpt-5.6-sol | $4 | $20 |
| gpt-5.6-terra | $2 | $12 |
Frequently asked questions
How much does OpenAI's gpt-5.4 cost?
gpt-5.4 costs $2.5 per million input tokens and $15 per million output tokens. Use the calculator above to estimate your own monthly cost from your expected request volume and average token counts.
What is the cheapest OpenAI model?
gpt-6-luna is OpenAI's cheapest current GPT model, priced at $0.1 per million input tokens and $0.5 per million output tokens, versus $2.5 / $15 for the flagship gpt-5.4.
How does OpenAI API pricing work?
OpenAI bills per token, separately for input tokens (what you send) and output tokens (what the model generates), priced per million tokens. Output tokens typically cost more than input tokens because generation is more compute-intensive. Total request cost is (input tokens × input price + output tokens × output price) / 1,000,000, multiplied by your request volume.
How do I estimate my monthly OpenAI API cost?
Enter your expected monthly request volume and average input/output tokens per request into the calculator above, pick one or more GPT models to compare, and it computes monthly cost, annual cost, cost per request, and cost per user instantly. Add an optional monthly growth rate to see a 12-month cost projection.
Compare across providers
Want to compare OpenAI against other providers side by side? Use the full AI Cost Calculator.