GPT-5.4 Pro: token counter & pricing
OpenAI · exact (uses official tokenizer) · pricing as of 2026-05-31.
- Provider
- OpenAI
- API model ID
gpt-5.4-pro- Context window
- 400,000 tokens
- Input price
- $30.00 per 1M tokens
- Output price
- $180.00 per 1M tokens
- Tokenizer accuracy
- exact (uses official tokenizer)
- Pricing as of
- 2026-05-31
Open the counter to count tokens for GPT-5.4 Pro in real time.
What is GPT-5.4 Pro?
GPT-5.4 Pro is the premium reasoning tier of OpenAI's GPT-5.4 family. Same tokenizer and context window, much higher per-token rate, positioned for the hardest tasks in the 5.4 line. $30 input / $180 output per 1M tokens, 12× the base 5.4 input rate.
This is for tasks where you have measured base GPT-5.4 falling short and the cost of a wrong answer dwarfs the 12× per-call markup.
How tokens are counted here
OpenAI's o200k_base tokenizer. Browser-side via js-tiktoken. Exact.
Pricing notes
$30 input / $180 output per 1M (short context). No cached-input rate, Pro tier doesn't qualify for caching today.
Long-context tier above 128K input: $60 / $270 per 1M. The calculator above uses the short-context rate.
For 1,000 input + 200 output: $0.066 per call, $66,000 per 1M calls at short context. That's 27× the base GPT-5.4 rate ($2,450/M) for the same workload.
When to use GPT-5.4 Pro
- Hardest reasoning benchmarks where the upgrade from base 5.4 is measurable.
- Single-shot answers to high-cost-of-failure questions, legal, regulatory, executive-facing.
- Eval ceiling testing for the 5.4 family.
When not to use it:
- Anywhere base GPT-5.4 hits your accuracy bar.
- High-volume workloads.
- Real-time chat, Pro latency is meaningfully higher.
Common questions
GPT-5.4 Pro vs GPT-5.5 Pro?
Same per-token price ($30/$180). GPT-5.5 Pro is the newer generation with broader reasoning improvements. For new work default to 5.5 Pro; 5.4 Pro stays in the catalog mostly for workloads pinned to a specific behavior profile.
GPT-5.4 Pro vs o3-pro?
o3-pro is $20/$80, substantially cheaper. o3-pro bills you for invisible reasoning tokens (typical 5-15× output overhead). Real-world cost gap narrows; on many reasoning tasks o3-pro is the better effective choice. Test both.
When does Pro tier actually pay back?
Pragmatic threshold: when a single wrong answer costs more than $50 of downstream rework (legal review, customer escalation, code-deploy rollback, etc.), Pro's per-call premium is paid by avoiding one wrong answer per 1,000 calls.
Compare GPT-5.4 Pro to other models
- GPT-5.5 (OpenAI, $5.00/$30.00)
- GPT-5.5 Pro (OpenAI, $30.00/$180.00)
- GPT-5.4 (OpenAI, $2.50/$15.00)
- GPT-5.4 Mini (OpenAI, $0.75/$4.50)
- GPT-5.4 Nano (OpenAI, $0.20/$1.25)
- GPT-5.3 (OpenAI, $1.75/$14.00)
- GPT-5.2 (OpenAI, $1.75/$14.00)
- GPT-5.2 Pro (OpenAI, $21.00/$168.00)
- GPT-5.1 (OpenAI, $1.25/$10.00)
- GPT-5 (OpenAI, $1.25/$10.00)
- GPT-5 Mini (OpenAI, $0.25/$2.00)
- GPT-5 Nano (OpenAI, $0.05/$0.40)
- GPT-5 Pro (OpenAI, $15.00/$120.00)
- GPT-4.1 (OpenAI, $2.00/$8.00)
- GPT-4.1 Mini (OpenAI, $0.40/$1.60)
- GPT-4.1 Nano (OpenAI, $0.10/$0.40)
- o3 (OpenAI, $2.00/$8.00)
- o3-mini (OpenAI, $1.10/$4.40)
- o3-pro (OpenAI, $20.00/$80.00)
- o4-mini (OpenAI, $1.10/$4.40)
- GPT-4o (OpenAI, $2.50/$10.00)
- GPT-4o mini (OpenAI, $0.15/$0.60)
- GPT-4 Turbo (OpenAI, $10.00/$30.00)
- Claude Opus 4.8 (Fast Mode) (Anthropic, $10.00/$50.00)
- Claude Opus 4.8 (Anthropic, $5.00/$25.00)
- Llama 3.1 405B (Meta, $3.50/$3.50)