LLM Insights中文
OpenAITextVision

gpt-5.4-mini

gpt-5.4-mini is OpenAI's model at $0.75 input and $4.50 output per million tokens, with a 1049K context window. On a typical 3:1 input-to-output mix that blends to roughly $1.69 per million tokens, placing it in the mid-range band of the 68 models tracked here — cheaper than 40% of them.

MODEL OVERVIEW
Context window1049K
Input price$0.75 / 1M
Output price$4.5 / 1M
Output speed150 tok/s
Quality score85
Data updatedUpdated Jun 2026
Price verified2026-08-19 · Official

By price, gpt-5.4-mini ranks 33rd cheapest of 68 on input and 43rd on output. Its quality score of 85 ranks 38th of 68, and on value (quality score ÷ output price) it ranks 40th of 68. Its blended rate sits 43% below the catalog average.

In real billing terms: a support chatbot handling 50,000 turns a month (2,000 input / 500 output tokens each) costs about $188 per month on gpt-5.4-mini, while a RAG workload of 20,000 queries (8,000 input / 800 output tokens each) runs about $192. Because output is priced 6.0× input here, long-generation tasks scale cost fastest — cap output length before you optimise anything else.

A 1049K context window holds roughly 1,399 pages of A4 text (at ~750 tokens per page), ranking 2nd of 68 here. That is enough to drop in an entire technical manual or several source files at once, which suits long-document summarization and codebase-wide analysis. Output runs at about 150 tok/s (18th fastest of 68), fast enough for real-time interaction and high-throughput batches.

We track 11 OpenAI models, and gpt-5.4-mini's blended rate sits 56% below that provider's average. If your task tolerates a little less headroom, qwen3.5-flash (Alibaba) blends about 97% cheaper at a quality score of 82, and is worth benchmarking first. Going the other way, Hunyuan HY3 scores 87 on quality for about 94% less.

The closest model in OpenAI's line-up is o4-mini ($1.10 input / $4.40 output, quality 88). Against it, gpt-5.4-mini scores 3 points lower on quality, runs 70 tok/s faster (about 88%), has a 849K larger context window, costs 14% less blended. When two models sit this close on price, the deciding factor is usually the quality ceiling — run both against your real prompts before picking.

Estimated monthly cost

Monthly API spend across four common workloads, next to the cheapest model we track.

WorkloadUsage assumptionThis modelCheapest model
Support chatbot2,000 input / 500 output tokens per turn, 50,000 turns per month$188$3.00
RAG document Q&A8,000 input / 800 output tokens per query, 20,000 queries per month$192$3.84
Coding assistant12,000 input / 2,000 output tokens per request, 10,000 requests per month$180$3.20
Batch summarization4,000 input / 400 output tokens per item, 200,000 items per month$960$19

Derived directly from the rates on this page. Excludes prompt caching, batch discounts and free tiers.

How it compares

The alternatives worth benchmarking alongside it, from the same dataset.

ModelProviderBlended /1MQualityPrice delta
gpt-5.4-miniOpenAI$1.6985
qwen3.5-flashCheaper optionAlibaba$0.05582-97%
Hunyuan HY3Higher qualityTencent$0.1087-94%
o4-miniSame providerOpenAI$1.9388+14%

Best for

ChatbotCodingAffordable

Modalities

TextVision

Where it fits — and where it doesn't

Good fit

  • Coding: writing, refactoring and debugging across multi-file project context.
  • Chat and support: natural multi-turn conversation for user-facing products.
  • Long documents: a 1049K window ingests a full contract, paper or large codebase in one pass.
  • High throughput and real-time UX: 150 tok/s keeps streamed responses feeling instant.
  • Multimodal input: handles images, screenshots and scanned documents directly.

Poor fit

  • No obvious disqualifiers — still benchmark on your own data before committing.

Frequently asked questions

How much does the gpt-5.4-mini API cost?

gpt-5.4-mini costs $0.75 per million input tokens and $4.50 per million output tokens. On a 3:1 input-to-output mix that blends to about $1.69 per million tokens.

What does gpt-5.4-mini cost per month?

It depends on volume. Using the four worked scenarios on this page: a support chatbot runs about $188/month, RAG document Q&A about $192/month, a coding assistant about $180/month, and batch summarization about $960/month. Plug your own token counts into the cost calculator for a tailored figure.

How large is the gpt-5.4-mini context window?

1049K tokens — roughly 1,399 pages of A4 text at ~750 tokens per page, ranking 2nd of the 68 models tracked here.

gpt-5.4-mini or qwen3.5-flash — which is better value?

qwen3.5-flash blends to about $0.055 per million tokens versus $1.69 for gpt-5.4-mini — roughly 97% cheaper — at a quality score of 82 against 85. If that quality gap does not show up on your task, take the cheaper one; if it does, stay with gpt-5.4-mini. Benchmark both on your own data before deciding.

What is gpt-5.4-mini best suited for?

Tagged use cases: chatbot, coding, cheap. Coding: writing, refactoring and debugging across multi-file project context. Less suitable: No obvious disqualifiers — still benchmark on your own data before committing.

How current is this gpt-5.4-mini pricing?

Pricing here was last verified on 2026-08-19 against official documentation. llmprice.app runs a daily collection job, but providers can change rates between runs — confirm against OpenAI's official pricing page before you commit.

Estimate the real cost of this model

Bring tokens per request and monthly volume into the calculator to compare total model costs.

Open cost calculator

Related models

Continue by provider and use case.

OpenAI

gpt-5.6-terra

Input price$2
Output price$12
View model
OpenAI

gpt-5.6-luna

Input price$0.2
Output price$1.2
View model
OpenAI

gpt-5.4

Input price$2.5
Output price$15
View model

Pricing, speed and quality scores change over time. Confirm official documentation before production use.