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.

More from OpenAI

Related comparisons