GPT-5.4 API Pricing
Short answer
GPT-5.4 costs $2.50 per 1M input tokens and $15.00 per 1M output tokens (cached input $0.25/1M). Context window: 1,050,000. Last verified 2026-06-17 from learn.microsoft.com. Confidence: Verified.
GPT-5.4 is OpenAI's prior flagship, a strong cost-quality balance for production that unified the Codex and GPT lines.
Input
$2.50 /1M
Output
$15.00 /1M
Cached input
$0.25 /1M
Input pricing$2.50
Cached input$0.25
Output pricing$15.00
Limits & capabilities
Context window1,050,000
Max output128K
Modalitytext + image input, text output
ChannelAzure OpenAI
ProviderOpenAI
Best for
ReasoningCodingGeneral
Cached input is 90% off standard. Released 2026-03-05.
Last checked Verified
More from OpenAI
GPT-5.5
$5.00 /1M in
$30.00 /1M out
Reasoning, Coding, Agentic
GPT-5.5 Pro
$30.00 /1M in
$180.00 /1M out
Reasoning, High-stakes
GPT-5.4 mini
$0.75 /1M in
$4.50 /1M out
Low latency, Coding, Agents at scale
GPT-5.4 nano
$0.20 /1M in
$1.25 /1M out
Classification, Low latency, High volume
GPT-5.3-Codex
$1.75 /1M in
$14.00 /1M out
Agentic coding, Software engineering, Tool use
GPT-Image-2
— /1M in
— /1M out
Photoreal, Editing, Text rendering, Flagship