openai / text-generation API-only released 2026-03-05

GPT-5.4

GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system. It features a 1M+ token context window (922K input, 128K output) with support for...

Input / 1M
$2.50
Output / 1M
$15.00
Context
1.0M
AA Intelligence
39
Closed weights — available only as a hosted API text + image + file → text View on OpenRouter ↗

Pricing

via OpenRouter · USD per 1M tokens · synced 2026-10-24
$2.50
input / 1M
$15.00
output / 1M
$0.25
cached input / 1M
$17.50
1M in + 1M out
:batch variant $1.25 in · $7.50 out
Price tiers
  • Above 272K prompt tokens: input $5.00/M, output $22.50/M (2× base)
Context window
1,050,000 tokens
Max output
128,000 tokens
Providers
3
Cheapest provider
OpenAI · $1.25 / $7.50
Best throughput
—
AA Intelligence / Coding / Agentic
39 / 71.1 / —
✓ Tool calling ✓ Reasoning ✓ Structured outputs ✓ Image input ✓ File input ✗ Audio input ✓ Prompt caching

Price history

tracking started — chart appears after 7 days of snapshots (6 recorded)
Current: $2.50 input · $15.00 output per 1M tokens

Benchmarks

Third-party indices as published through OpenRouter — Artificial Analysis and Design Arena. Not measured by us.

AA Intelligence Index
39
AA Coding Index
71.1
AA Agentic Index
—
Design Arena
CategoryEloWin %Rank
3d 1102 42.3% #88
asciiart 1199 55.4% #26
codecategories 1212 52.5% #56
dataviz 1235 56.6% #43
gamedev 1239 57.6% #40
svg 1195 57.8% #29
uicomponent 1237 57.4% #44
website 1220 52.5% #60
androidnative 1033 47.4% #37
fullstack 1017 40.9% #39
godotgamedev 1135 46.9% #25
mobileapps 1087 46.1% #44
webapps 1059 40.3% #41

Providers

3 providers · per 1M tokens · last 30 min metrics
ProviderQuantContextInputOutputUptimeTok/s
OpenAI unknown 1.0M $1.25 $7.50 — —
Azure unknown 1.0M $2.50 $15.00 100% —
OpenAI unknown 1.0M $2.50 $15.00 100% —
Amazon Bedrock unknown 1.0M $2.75 $16.50 — —
Azure unknown 1.0M $2.75 $16.50 100% —
Azure unknown 1.0M $2.75 $16.50 — —
OpenAI unknown 1.0M $5.00 $30.00 — —
Provider data from OpenRouter's endpoint listing, refreshed daily.

Specifications

Organisation
openai
Released on OpenRouter
2026-03-05
Context window
1,050,000 tokens
Max output
128,000 tokens
Input
text, image, file
Output
text
Tokenizer
GPT
Moderated by provider
Yes
OpenRouter id
openai/gpt-5.4
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.