GPT-5.4 pricing & specs

OpenAI · released 2026-03-05 · ● verified 2026-10-11

input / 1M$2.50
output / 1M$15.00
context1.05M
max output128K

// price history ($/1M tokens)

$17.25
input $/1Moutput $/1M2026-03-05 → 2026-10-11

// cheaper or similar alternatives

modelinoutctxvs GPT-5.4
Gemini 2.5 Flash-Lite$0.10$0.401.05M−96.9%
Claude Haiku 5.5$0.10$0.501M−96.4%
GPT-6 Luna$0.10$0.501.05M−96.4%
GLM-5.3-Flash$0.15$0.501M−95.8%
GPT-5.6 Luna$0.20$1.201.05M−92%
Claude Opus 5 vs GPT-5.4 →Claude Opus 5.5 vs GPT-5.4 →Claude Sonnet 5 vs GPT-5.4 →Claude Sonnet 5.5 vs GPT-5.4 →Gemini 3.1 Pro Preview vs GPT-5.4 →Gemini 3.1 Pro Preview Custom Tools vs GPT-5.4 →

// price by host

hostin $/1Mout $/1M
Azure$2.50$15.00
Amazon Bedrock$2.75$16.50

// faq

How much does GPT-5.4 cost?

GPT-5.4 costs $2.50 per million input tokens and $15.00 per million output tokens. At 50M input and 10M output tokens per month that is about $275. Prompts above 272K tokens are billed at $5.00 input and $22.50 output.

What is the context window of GPT-5.4?

1.05M tokens, with up to 128K output tokens per request.

Does GPT-5.4 support prompt caching?

Yes. Cached input tokens cost $0.25 per million.

What are cheaper alternatives to GPT-5.4?

Gemini 2.5 Flash-Lite ($0.10 in / $0.40 out), Claude Haiku 5.5 ($0.10 in / $0.50 out), GPT-6 Luna ($0.10 in / $0.50 out) offer the same input types and capabilities for less.

// spec sheet

input / 1M
$2.50
output / 1M
$15.00
cache read / 1M
$0.25
> 272K ctx
$5.00 / $22.50
blended (3:1)
$5.625
context
1.05M
max output
128K
input types
text · image · pdf
reasoning
yes
tool calling
yes
structured output
yes
open weights
no
knowledge cutoff
2025-08-31
price source
OpenAI

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Gemini 2.5 Flash-Lite$0.10$0.40$9.00
Claude Haiku 5.5$0.10$0.50$10.00
GPT-6 Luna$0.10$0.50$10.00
GPT-5.4$2.50$15.00$275

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.