OpenAI

GPT 5.4 Mini

gpt-5.4-mini
  • Vision
  • File input
  • Reasoning
  • Structured output
  • Tool use
  • Web search
  • Implicit caching
Input
$0.75
Per 1M tokens
Output
$4.50
Per 1M tokens
Speed
276
tokens / s
Context
272K
tokens
Released
Mar 2026
Where gpt-5.4-mini runs
DeploymentRegionCostFlexPriorityUltrafastCache readCache writeThroughputCapabilitiesZero data retentionNo training
Microsoft AzureEU$0.825 / $4.95N/A$1.65 / $9.90N/A$0.083N/A267 tok/s
  • Vision
  • File input
  • Reasoning
  • Structured output
  • Tool use
  • Web search
  • Implicit caching
? Unknown? Unknown
Microsoft AzureUS$0.825 / $4.95N/A$1.65 / $9.90N/A$0.083N/A276 tok/s
  • Vision
  • File input
  • Reasoning
  • Structured output
  • Tool use
  • Web search
  • Implicit caching
? Unknown? Unknown
Microsoft AzureGlobal$0.75 / $4.50$0.375 / $2.25$1.50 / $9.00N/A$0.075N/A239 tok/s
  • Vision
  • File input
  • Reasoning
  • Structured output
  • Tool use
  • Web search
  • Implicit caching
? Unknown? Unknown
OpenAIGlobal$0.75 / $4.50$0.375 / $2.25$1.50 / $9.00N/A$0.075N/A131 tok/s
  • Vision
  • File input
  • Reasoning
  • Structured output
  • Tool use
  • Web search
  • Implicit caching

Build with GPT 5.4 Mini

Visit https://docs.weflayr.com/agents/integration-playbook, then set up Weflayr in this project and use it to call the model "gpt-5.4-mini".

Compare with other models

Price and speed is only half the answer. Benchmark models on your calls to find out the other half.

Benchmark on your calls
Filters
  • GPT 5.4 Mini
The gateway's models next to gpt-5.4-mini
ModelRegionProvidersCostFlexPriorityUltrafastCache readCache writeThroughputContextZero data retentionNo trainingReleased
grok-4.3Global$1.25 / $2.50N/AN/AN/A$0.20N/A130 tok/s1M Apr 2026
grok-4.20-non-reasoningGlobal$1.25 / $2.50N/AN/AN/A$0.20N/A452 tok/s1MVariesVariesMar 2026
grok-4.20-reasoningGlobal$1.25 / $2.50N/AN/AN/A$0.20N/A441 tok/s1MVariesVariesMar 2026
kimi-k2.7-codeGlobal$0.95 / $4.00N/AN/AN/A$0.095$1.188232 tok/s256K Jun 2026
glm-5USEUGlobal$1.00 / $3.20$0.50 / $1.60$1.75 / $5.60N/AN/AN/A251 tok/s200KVaries Feb 2026

Alternatives to GPT 5.4 Mini

34 other models with the same capabilities and at least the same context window as GPT 5.4 Mini are available on the Weflayr gateway. Review the most notable ones.

Benchmark GPT 5.4 Mini on your own agent calls

A lower list price says nothing about answer quality. Your evals grade each answer against the one you ship today.

Evaluate models on your own callsExample

Miracle LabsYesterday, 11:34pm_agent

Review all standup recordings from the past week, check if an issue exists for every work item, and create a status report for me.

  • Your agent's answersBaselineBaseline
  • gpt-5.4-mini−68% cost Same quality
  • gemini-4-neon+15% cost Better quality
  • gemini-3.1-flash-lite−89% cost Same quality
  • gpt-5-nano−97% costWorse quality

Questions

How much does gpt-5.4-mini cost?
gpt-5.4-mini costs $0.75 per 1M input tokens and $4.50 per 1M output tokens on its cheapest host, Microsoft Azure, Global. Input read from the cache costs $0.075 per 1M tokens. These are list prices, as the gateway's model list gives them.
Does gpt-5.4-mini have other service tiers?
Yes, on Microsoft Azure, Global. Beside its standard $0.75 / $4.50 per 1M tokens, it sells Flex at $0.375 / $2.25 and Priority at $1.50 / $9.00.
What is the context window of gpt-5.4-mini?
gpt-5.4-mini takes up to 272,000 tokens of input and writes up to 128,000 tokens in one answer.
Which hosts run gpt-5.4-mini?
2 hosts: Microsoft Azure (EU, US and Global) and OpenAI (Global). To keep a call on one, send its provider and region, for example "provider": "azure", "region": "GLOBAL".
Can I run gpt-5.4-mini in the EU?
Yes. gpt-5.4-mini runs in the EU on Microsoft Azure. To keep a call there, send its provider and region, for example "provider": "azure", "region": "EU".
Do the hosts of gpt-5.4-mini keep my data or train on it?
Zero data retention: 1 of its 4 deployments. No training on your data: 1 of 4. Where a host does not say, this page shows it as unknown.
How fast is gpt-5.4-mini?
Over the last 24 hours, gpt-5.4-mini wrote a median of 276 output tokens per second on its fastest host, Microsoft Azure, US.
What can gpt-5.4-mini do?
gpt-5.4-mini reads text, images and PDFs and writes text. It supports reasoning, tool use, structured output, web search and implicit caching.
Is there a cheaper model that does the same job as gpt-5.4-mini?
On list price, 10 models can do the same job for less, for a call of 2,000 input and 500 output tokens. The closest in price is gemini-3.8-flash, at 10% less. A price list cannot tell if the answers are as good. A Weflayr benchmark replays your own calls on each model to find out.
Is there a newer version of gpt-5.4-mini?
No. gpt-5.4-mini is the newest version of its line on the gateway.
How do I call gpt-5.4-mini?
Point any OpenAI client at https://gateway.weflayr.com/v1 with a Weflayr API key and send "gpt-5.4-mini" as the model. Send a list of models to have the next one answer when the first fails. Calls take up to 272K tokens of context.

Put your model teams to work.

Connect Weflayr, benchmark your agents, and gain control over your AI performance.