LLM prices per 1M tokens

264 models · 161 price changes

GPT-5.4

OpenAI · Reasoning · 1.05M context · released Mar 5, 2026 · checked 12h ago

GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system.

Ways to buy 9

Way to buyIn / out per 1M
OpenAI
flex, cheapest · cached $0.125
$1.25 / $7.5-50% vs list
OpenAI API
The lab's own API · cached $0.25
$2.5 / $15List price
Azure AI Foundry
Default region · cached $0.25
$2.5 / $15Same as list
Databricks Mosaic AI Gateway + Foundation Model APIs
From the platform pricing page
$2.5 / $15Same as list
AWS Bedrock
us-east-1 · cached $0.275
$2.75 / $16.5+10% vs list
Azure AI Foundry
eu · cached $0.275
$2.75 / $16.5+10% vs list
Azure AI Foundry
us · cached $0.275
$2.75 / $16.5+10% vs list
Snowflake Cortex AI (AI_COMPLETE)
From the platform pricing page
$3 / $18+20% vs list
OpenAI
fast · cached $0.5
$5 / $30+100% vs list

USD per 1M tokens; batch $1.25 in, $7.5 out on the lab's API. Regions are separate routes.

Through a gateway

Your own numbers

100M input and 20M output tokens a month: $550.00 direct.

No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.

Related models

In / out per 1M
GPT-6.1 Terra
OpenAI · 1.05MCheapest: $1 on OpenAI (flex)
$1 / $5GPT-6.1 Terra is the mid-tier model in OpenAI's GPT-6.1 series, priced below GPT-6.1 Sol.
GPT-6.1 Terra Pro
OpenAI · 1.05MCheapest: $1 on OpenAI (flex)
$1 / $5GPT-6.1 Terra Pro is the same underlying model as GPT-6.1 Terra, served with reasoning.mode set to pro for higher-quality responses on complex tasks.
GPT-6.1 Sol
OpenAI · 1.05MCheapest: $2 on OpenAI (flex)
$2 / $10GPT-6.1 Sol is an upgrade to GPT-6 Sol from OpenAI, positioned below the flagship GPT-6 Astra in the GPT-6 series.
GPT-6.1 Sol Pro
OpenAI · 1.05MCheapest: $2 on OpenAI (flex)
$2 / $10GPT-6.1 Sol Pro is the same underlying model as GPT-6.1 Sol, served with reasoning.mode set to pro for higher-quality responses on complex tasks.
Claude Opus 5.5
Anthropic · 1M
$4 / $20Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5.
Gemini 4 Argon
Google · 1MCheapest: $2 on Google Gemini API (flex)
$2 / $10Gemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep mathematical and scientific problem solving, and autonomous multi-step agents.
Claude Sonnet 5.5
Anthropic · 1M
$2 / $10Claude Sonnet 5.5 is Anthropic's Sonnet-class model for well-scoped everyday work, succeeding Claude Sonnet 5 as a direct upgrade.
Claude Opus 5
Anthropic · 1M
$5 / $25Claude Opus 5 is Anthropic’s flagship model for demanding reasoning, coding, and long-horizon agentic work.

About GPT-5.4

Takes text, image, files in and returns text. First listed Mar 6, 2026. Up to 128K output tokens. Blended price $5.63 per 1M tokens at 3 input to 1 output. Overall score 1 on leadersboard.fru.dev (rank 39). Model id gpt-5-4.

Price history

$3$10Mar 6, 2026Output $15Input $2.5

List price since Mar 6, 2026, from Internet Archive snapshots of the OpenRouter catalog, then daily reads.

Questions

How much does GPT-5.4 cost?

$2.5 per million input tokens and $15 per million output tokens, with cached input at $0.25, or $1.25 and $7.5 through the Batch API.

What is the context window of GPT-5.4?

1.05M tokens, with up to 128K tokens of output.

Where is GPT-5.4 cheapest?

Of 9 routes tracked, OpenAI is cheapest at $1.25 input and $7.5 output per million tokens.