GPT-5.4 (xhigh) Token Counter & Cost Calculator
Count tokens for GPT-5.4 (xhigh) and estimate the exact API cost — $2.50
per 1M input tokens, $15.00 per 1M output tokens — using a real
o200k_base BPE tokenizer. Everything runs in your browser; nothing is uploaded.
Counts are exact for OpenAI models (o200k_base is GPT-4o/4.1/5's tokenizer). For Claude, Gemini and other vendors — whose tokenizers are not public — treat the count as a close estimate (typically within ±15%).
Model price data failed to load — cost estimates are unavailable right now. Token counts above still work; try reloading the page.
Cost of this text across popular models
| Model | Input $/1M | Output $/1M | This text (input) | +500 output tokens |
|---|
Exact: o200k_base is OpenAI's own tokenizer, the same encoding its API bills GPT-5.4 (xhigh) against.
Cost lookup — GPT-5.4 (xhigh)
| Tokens | Cost on GPT-5.4 (xhigh) |
|---|---|
| 1K input tokens | 0.25¢ |
| 10K input tokens | $0.0250 |
| 100K input tokens | $0.2500 |
| 1M input tokens | $2.50 |
| 1K output tokens | $0.0150 |
| 10K output tokens | $0.1500 |
FAQ
How accurate is the GPT-5.4 (xhigh) token count?
Exact: o200k_base is OpenAI's own tokenizer, the same encoding its API bills GPT-5.4 (xhigh) against. Paste your own text above to see the exact number for your prompt.
How is GPT-5.4 (xhigh) API cost calculated?
Cost = (input tokens ÷ 1,000,000) × $2.50 + (output tokens ÷ 1,000,000) × $15.00 — GPT-5.4 (xhigh)'s official per-1M-token prices from Artificial Analysis.
Does this cover every reasoning-effort tier of GPT-5.4 (xhigh)?
Pricing shown is for the merged representative tier. GPT-5.4 (xhigh) groups 3 reasoning-effort variants: GPT-5.4 (xhigh), GPT-5.4 (low), GPT-5.4 (Non-reasoning).
See full GPT-5.4 (xhigh) pricing & benchmarks, or the main token counter for every model.