GPT-5.4 API pricing
OpenAI flagship model of the GPT-5.4 generation (March 2026).
Input
$2.50
per 1M tokens
Cached input
$0.25
per 1M tokens
Output
$15.00
per 1M tokens
Context window
1M
max output 125K
Prices last synced Aug 20, 2026 from the LiteLLM community price catalog — the same catalog Marginal prices real usage events against, refreshed daily. Hand-checked against the provider's official pricing page on Aug 20, 2026. Spot an error? Tell us.
Pricing notes
- Long-context: at 272K+ input tokens the whole request bills $5.00 input / $22.50 output per 1M.
- Batch and Flex tiers are 50% off these rates; Fast mode is roughly 2x (varies by model).
What would GPT-5.4 cost you?
Enter your workload — add other models to compare the same traffic across providers.
Your monthly workload
Cache hit rate = share of input tokens served from the provider's prompt cache, billed at the model's cached-input price. Estimates use standard per-token rates — batch discounts, service tiers, and long-context surcharges are not applied.
| Model | Input | Cached input | Output | Per request | Monthly |
|---|---|---|---|---|---|
| GPT-5.4 | $1,500 | $100 | $3,750 | $0.011 | $5,350 |
More from OpenAI
Tracking GPT-5.4 in production?
Marginal prices every call your app actually makes — cached tokens, dated snapshots, model switches included — and slices spend by customer or feature. One track() call to integrate.