gpt-5.4 pricing

gpt-5.4 from OpenAI costs $2.50 per 1M input tokens and $15.00 per 1M output tokens. Cached input is $0.250 per 1M. Context window 1,050,000 tokens.

API id gpt-5.4 · OpenAI · source · updated 2026-08-12

$2.50
Input / 1M tokens
$15.00
Output / 1M tokens
$0.250
Cached input / 1M
1.1M
Context window

Long-context pricing

Prompts over 272K tokens are billed at $5.00 per 1M input and $22.50 per 1M output — roughly 2.0× the standard input rate. Budget for this if you send large documents.

What gpt-5.4 costs in practice

Estimated cost at common usage volumes
WorkloadInput tokensOutput tokensEstimated cost
Short chat turn1,000500$0.01
Document summary50,0002,000$0.15
1M tokens in, 200K out1,000,000200,000$5.50

Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.

Common questions

How much does gpt-5.4 cost per 1M tokens?
gpt-5.4 costs $2.50 per 1M input tokens and $15.00 per 1M output tokens on the standard tier. Cached input is $0.250 per 1M.
What is gpt-5.4's context window?
gpt-5.4 accepts up to 1,050,000 tokens in a single request, and can return up to 128,000 output tokens.
Is there a cheaper OpenAI model than gpt-5.4?
Yes. gpt-4o-mini-2024-07-18 is $0.300 per 1M input tokens versus $2.50 for gpt-5.4, with a 128,000 token context window.
Where does this gpt-5.4 price come from?
Directly from OpenAI's published pricing page, re-read every day and normalized to USD per 1,000,000 tokens.

Other OpenAI models

See all OpenAI pricing →