Skip to content
AI Dev Toolkit.
Esc
  • Loading…

OpenAI · Model

GPT-5.4 Mini API pricing, cost and context window

GPT-5.4 Mini costs $0.75 per million input tokens and $4.50 per million output tokens. Cached input costs $0.075. It reads up to 400,000 tokens and writes up to 128,000 per reply. Prices checked 2026-11-28. By blended price it is number 4 of OpenAI’s 11 current models here, counting from the cheapest.

Input / 1M
$0.75
Output / 1M
$4.50
Cached / 1M
$0.075
Context
400,000
Max output
128,000
Released
2026-03-17

Estimate your cost with GPT-5.4 MiniCompare all OpenAI modelsCount tokens for GPT-5.4 Mini

Pricing

How much does GPT-5.4 Mini cost per million tokens?

Price per 1M tokensInputOutput
Standard$0.75$4.50
Cached input (read)$0.075–
Batch API$0.375$2.25

Output costs 6.0× the input price; a cache hit costs 10% of it.

Work out your monthly GPT-5.4 Mini bill in the cost calculatorSee what prompt caching savesSee what the Batch API saves

Examples

How much does a typical GPT-5.4 Mini request cost?

WorkloadTokens in / outRequests/dayPer requestPer month
Support chatbot50% cached1,500 / 4001,000$0.00242$73.57
RAG app20% cached6,000 / 500500$0.00594$90.34
Coding agent80% cached40,000 / 2,000200$0.0174$105.85
Document summariserbatch8,000 / 600300$0.00435$39.69

Change any number in the cost calculator.

Context

What is GPT-5.4 Mini’s context window and max output?

GPT-5.4 Mini accepts up to 400,000 tokens per request, roughly 300,000 English words or 600 pages, prompt and reply together; one reply is capped at 128,000 tokens.

Filling the whole window with one prompt costs about $0.30 at list price.

Check whether your text fits GPT-5.4 Mini’s window.

Features

What can GPT-5.4 Mini do?

Image input
Yes
Tool / function calling
Yes
Reasoning mode
Yes
Prompt caching
Yes
Structured output
Yes
Open weights
No
Accepts
file, image, text
Knowledge cutoff
2025-08-31

As declared by the provider’s API. It shows a feature exists, not how well it works.

API

What is the GPT-5.4 Mini API model ID?

OpenRouter
openai/gpt-5.4-mini
OpenAI API
gpt-5.4-mini (alias)gpt-5.4-mini-2026-03-17 (pinned)

OpenAI lists GPT-5.4 Mini as current. Every GPT model ID, with aliases and snapshots.

OpenAI

Where does GPT-5.4 Mini sit in OpenAI’s line-up?

Ranked by blended price (three parts input to one part output, $1.6875 per 1M for GPT-5.4 Mini), it is number 4 of OpenAI’s 11 current models here, counting from the cheapest. One step down, GPT-4o-mini costs $0.2625 blended (84% less). Unlike GPT-5.4 Mini, it reads up to 128,000 tokens (400,000 here), caps a reply at 16,384 tokens (128,000 here) and has no reasoning mode. One step up, GPT-6.1 Terra costs $2 (1.2× as much). Unlike GPT-5.4 Mini, it reads up to 1,050,000 tokens (400,000 here). See every OpenAI model and price

History

Is GPT-5.4 Mini cheaper than GPT-5 Mini?

The previous model in this line is GPT-5 Mini, first listed on 2025-08-07. Compared with it, GPT-5.4 Mini’s input price is 200% higher and its output price is 125% higher.

ModelInput / 1MOutput / 1MContextReleased
GPT-5 Mini$0.25$2400,0002025-08-07
GPT-4.1 Mini$0.40$1.601,047,5762025-04-14

Save

What are cheaper alternatives to GPT-5.4 Mini?

Keeping image input, tool calling, reasoning; by blended price.

Compare

Which models cost about the same?

FAQ

GPT-5.4 Mini questions

How much does GPT-5.4 Mini cost?

GPT-5.4 Mini costs $0.75 per million input tokens and $4.50 per million output tokens, with cached input at $0.075. A typical chatbot reply (1,500 tokens in, 400 out) costs about $0.00292. Use the LLM cost calculator for your own workload.

What is GPT-5.4 Mini’s context window?

400,000 tokens, about 300,000 English words or 600 printed pages, shared between your prompt and the reply. A single reply can be up to 128,000 tokens.

Does GPT-5.4 Mini support prompt caching and batch requests?

Yes, cached input is billed at $0.075 per million tokens (10% of the normal input price). A batch API is available at $0.375 input and $2.25 output per million tokens.

What are cheaper alternatives to GPT-5.4 Mini?

With the same essentials (image input and tool calling), the cheapest options are Seed-2.0-Mini (90% cheaper), GPT-6 Luna (88% cheaper), Claude Haiku 5.5 (88% cheaper). Cheaper doesn’t mean equivalent, so test them on your own prompts.

What is the API model ID for GPT-5.4 Mini?

On OpenRouter it is openai/gpt-5.4-mini. In OpenAI’s own API, use gpt-5.4-mini; OpenAI lists the model as current. The GPT model ID list has every alias and snapshot. Pass the ID as the model value in each request.

When was GPT-5.4 Mini released?

GPT-5.4 Mini was first listed on 2026-03-17, with a knowledge cutoff of 2025-08-31. It follows GPT-5 Mini, first listed on 2025-08-07. Release dates here are when our price source first listed each model.

Is GPT-5.4 Mini cheaper than GPT-5 Mini?

The previous OpenAI model in the same line is GPT-5 Mini, first listed on 2025-08-07. Compared with it, GPT-5.4 Mini’s input price is 200% higher and its output price is 125% higher. Prices are only part of the picture, so test the newer model on your own prompts before switching.

Is GPT-5.4 Mini open source?

No, GPT-5.4 Mini is only available through OpenAI’s API and partners; its weights aren’t published.

Prices checked · Page updated

Sources: OpenRouter models API and LiteLLM model prices and context windows, checked daily; open-weight prices are typical hosted prices. Confirm critical numbers on OpenAI’s pricing page. Every price move is in the AI pricing changes log. See our methodology.

Keep exploring