GPT-5.4 mini API Pricing Calculator
Compare what your prompts cost across every major LLM — with exact token counts for OpenAI models, right in your browser.
Prices verified 2026-07-24 · per 1M tokens · sources linked per provider
Input / 1M tokens
$0.75
Cached input / 1M
$0.075
Output / 1M tokens
$4.5
gpt-5.4-miniAt GPT-5.4 mini's rates ($0.75 per 1M input tokens, $4.5 per 1M output), a call with 1,000 input and 500 output tokens costs $0.003. At 10,000 requests a month, that workload runs $30.00. A heavier call — a 100,000-token prompt returning 2,000 tokens — costs $0.084.
Within OpenAI's lineup, GPT-5.4 mini runs 3.6× the per-call cost of GPT-5.4 nano and 6.7× less than GPT-5.6 Sol at this workload.
Cache-read input is billed at $0.075 per 1M tokens — 90% below the standard input rate, so a long system prompt reused across calls mostly bills at the discounted rate.
| Model | Cost / call | Cost / month | × best price |
|---|---|---|---|
| GPT-5.4 nanocheapest | $0.00145 | $1.45 | — |
| GPT-5.4 mini | $0.00525 | $5.25 | 3.6× |
| GPT-5.6 Luna | $0.007 | $7.00 | 4.8× |
| GPT-5.6 Terra | $0.0175 | $17.50 | 12.1× |
| GPT-5.6 Sol | $0.035 | $35.00 | 24.1× |
More OpenAI models: GPT-5.6 Sol · GPT-5.6 Terra · GPT-5.6 Luna · GPT-5.4 nano — or all OpenAI pricing
Token counter
Token counts are exact for OpenAI models (tiktoken o200k_base, run in your browser). For other providers the count is an estimate — notably Claude Opus 4.7+/Sonnet 5 and similar newer models use a tokenizer that produces roughly 30% more tokens for the same text.
Related tools
Scaling AI content or ops? Elegant Atomics builds growth systems for B2B SaaS — Trevor’s company. Work with us →