LLM prices per 1M tokens

264 models · 161 price changes

GPT-5.4 Mini

OpenAI · Reasoning · 400K context · released Mar 17, 2026 · checked 12h ago

GPT-5.4 mini brings the core capabilities of GPT-5.4 to a faster, more efficient model optimized for high-throughput workloads.

Ways to buy 5

Way to buyIn / out per 1M
OpenAI
flex, cheapest · cached $0.037
$0.375 / $2.25-50% vs list
OpenAI API
The lab's own API · cached $0.075
$0.75 / $4.5List price
Azure AI Foundry
Default region · cached $0.075
$0.75 / $4.5Same as list
Azure AI Foundry
us · cached $0.083
$0.825 / $4.95+10% vs list
OpenAI
fast · cached $0.15
$1.5 / $9+100% vs list

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

Through a gateway

Your own numbers

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

A dash: not on that gateway's own model list. 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.
Gemini 3.8 Flash
Google · 1MCheapest: $0.75 on Google Gemini API (flex)
$0.75 / $3.75Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.
Muse Spark 1.1
Meta · 1M
$1.25 / $4.25Muse Spark 1.1 is a multimodal reasoning model from Meta, built for agentic tasks.
Qwen3.8 Max (0902)
Qwen (Alibaba) · 1M
$2 / $6Qwen3.8 Max 0902 is an updated snapshot of Qwen3.8 Max from Alibaba's Qwen team.
Gemini 3.7 Flash
Google · 1MCheapest: $0.75 on Google Vertex AI (global-flex)
$0.75 / $3.75Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning.

About GPT-5.4 Mini

Takes files, image, text in and returns text. First listed Mar 19, 2026. Up to 128K output tokens. Blended price $1.69 per 1M tokens at 3 input to 1 output. Model id gpt-5-4-mini.

Price history

$1$3Mar 19, 2026Output $4.5Input $0.75

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

Questions

How much does GPT-5.4 Mini cost?

$0.75 per million input tokens and $4.5 per million output tokens, with cached input at $0.075, or $0.375 and $2.25 through the Batch API.

What is the context window of GPT-5.4 Mini?

400K tokens, with up to 128K tokens of output.

Where is GPT-5.4 Mini cheapest?

Of 5 routes tracked, OpenAI is cheapest at $0.375 input and $2.25 output per million tokens.