GPT-5.4 API pricing
GPT-5.4 is a model from OpenAI with a 1,050,000-token context window. Rates below are per 1,000,000 tokens, verified October 2026.
Price list
| Token class | Rate / 1M | Notes |
|---|---|---|
| Input | $2.50 | Prompt tokens not served from cache |
| Cached input | $0.25 | 90% below base input |
| Cache write | — | Not billed per token |
| Output | $15 | 6.0× the input rate |
| Long context input | $5 | Above 272,000 input tokens |
| Long context output | $22.50 | Same threshold |
| Batch API | −50% | Input and output, results within 24 h |
Superseded by Terra.
What GPT-5.4 costs at three real workloads
Sticker prices rarely match the invoice. These three workloads use the rates above, with cache writes charged once per job and the batch discount applied only where the provider offers it.
| Workload | Requests | Tokens | Estimated cost |
|---|---|---|---|
| Support chat | 1,000 | 4K in / 600 out | $19 |
| RAG with caching | 1,000 | 50K in (45K cached) / 1K out | $38.85 |
| Nightly batch job | 10,000 | 10K in / 2K out | $275 |
Caching the 45K-token prefix saves about 72% on the RAG workload versus sending it uncached every call ($140 → $38.85). Batch mode halves the nightly job.
Where GPT-5.4 sits in the market
Out of 28 models in this dataset, GPT-5.4 ranks #22 cheapest by input rate, #22 by output rate, and #22 on a blended 1M-input-plus-250K-output workload.
| Model | Provider | Input | Output | Blended |
|---|---|---|---|---|
| GPT-5.4 | OpenAI | $2.50 | $15 | $6.25 |
| GPT-5.2 | OpenAI | $1.75 | $14 | $5.25 |
| Claude Sonnet 4.6 | Anthropic | $3 | $15 | $6.75 |
| Gemini 3.1 Pro (Preview) | Google Gemini | $2 | $12 | $5 |
Blended cost = 1M input tokens + 250K output tokens at list price.
FAQ
How much does GPT-5.4 cost per 1M tokens?
$2.50 per 1M input tokens and $15 per 1M output tokens on the standard tier, rising to $5 / $22.50 above 272,000 input tokens.
Is prompt caching cheaper on GPT-5.4?
Yes. Cached input bills at $0.25 per 1M tokens, 90.0% below the $2.50 base input rate, with no separate cache-write rate published.
Does GPT-5.4 support the Batch API?
Yes. Batch requests bill at roughly half the standard input and output rates: the nightly job above costs $550 at list price and about $275 in batch mode.