gpt-5.4-mini pricing

gpt-5.4-mini from OpenAI costs $0.750 per 1M input tokens and $4.50 per 1M output tokens. Cached input is $0.075 per 1M. Context window 400,000 tokens.

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

$0.750
Input / 1M tokens
$4.50
Output / 1M tokens
$0.075
Cached input / 1M
400K
Context window

What gpt-5.4-mini costs in practice

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

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-mini cost per 1M tokens?
gpt-5.4-mini costs $0.750 per 1M input tokens and $4.50 per 1M output tokens on the standard tier. Cached input is $0.075 per 1M.
What is gpt-5.4-mini's context window?
gpt-5.4-mini accepts up to 400,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-mini?
Yes. gpt-4o-mini-2024-07-18 is $0.300 per 1M input tokens versus $0.750 for gpt-5.4-mini, with a 128,000 token context window.
Where does this gpt-5.4-mini 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 →