GPT-5.4 mini API Pricing

Short answer

GPT-5.4 mini costs $0.75 per 1M input tokens and $4.50 per 1M output tokens (cached input $0.075/1M). Context window: 400,000. Last verified 2026-06-17 from learn.microsoft.com. Confidence: Verified.

GPT-5.4 mini is OpenAI's cost-efficient workhorse for lower-latency coding and high-volume agents.

Input
$0.75 /1M
Output
$4.50 /1M
Cached input
$0.075 /1M
Input pricing$0.75
Cached input$0.075
Output pricing$4.50

Limits & capabilities

Context window400,000
Max output128K
Modalitytext + image input, text output
ChannelAzure OpenAI
ProviderOpenAI

Best for

Low latencyCodingAgents at scale
Context 400K (272K input / 128K output).

More from OpenAI

Related comparisons