GPT-5.4 Mini

OpenAI · On OpenRouter since March 17, 2026 · Pinned version id: openai/gpt-5.4-mini-20260317

Price

$1.69

mixed / 1M tokens

Mixed price per 1M tokens: 3 input tokens to 1 output token.

in $0.75 · out $4.50 · Cached input $0.075

Models that think before they answer can use many more output tokens, so your real cost can be higher than the figure shown.

US dollars per million tokens, converted to your currency at the NBP rate.

Tasks, with the evidence

Each line names the measurement it rests on. A task that is not listed has no measurement or declared feature we can show.

Writing code

Measured by a third party

Coding Index: 56.1 · Rank 29 of 86, among scored models · Artificial Analysis, read November 18, 2026

Cost of this job: $0.62

Models that score at least as high for less in this scenario: 9

Agents that use tools

Measured by a third party

Agentic Index: 17.9 · Rank 29 of 64, among scored models · Artificial Analysis, read November 18, 2026

Cost of this job: $4.47

Models that score at least as high for less in this scenario: 8

Long documents

Declared, not measured

Context window: 400k tokens as declared. It says how much fits, not how well the model uses it.

Images, files, audio, video in

Declared, not measured

Accepts: images and files. Declared by the provider through OpenRouter; we did not test it.

Cost of this job: $0.37Text-token prices only; images, audio and video may be billed separately.

The size of each job is our assumption; the prices are real.

  • Writing code: Requests: 40. Input tokens per request: 30,000. Output tokens per request: 1,500. Share of input served from cache: 70%.
  • Agents that use tools: Requests: 200. Input tokens per request: 45,000. Output tokens per request: 2,500. Share of input served from cache: 75%.
  • Images, files, audio, video in: Requests: 15. Input tokens per request: 20,000. Output tokens per request: 3,000. Share of input served from cache: 30%.

Thinking is billed as output tokens; a model that thinks longer costs more than this estimate. Ranks are among all models we list, including older ones.

Price by provider

The price used in the catalog is the vendor's own; when the vendor has no API of its own, it is the cheapest regular host.

ProviderInputOutputCached inputMixedNotes
OpenAI Vendor Price used here $0.75$4.50 $0.075 $1.69
Azure $0.75$4.50 $0.075 $1.69

Other pricing modes

Specifications

Context window
400k
Max output
128k
Accepts
text, images, and files
Answers with
text
Tools
Yes
Structured output
Yes
Reasoning
Optional
Thinking effort levels: none, low, medium, high, and xhigh
Weights on Hugging Face
Not listed
Knowledge cutoff
August 31, 2025
On OpenRouter since
March 17, 2026
Price check
confirmed

As listed by OpenRouter. "Not listed" means OpenRouter does not list it for this model.

Benchmark scores

Scores come from third parties and are relayed by OpenRouter. We do not run the tests. Higher is better.

SourceScoreRank among scored
Coding Index
Artificial Analysis, read November 18, 2026
56.1Rank 29 of 86, among scored models
Agentic Index
Artificial Analysis, read November 18, 2026
17.9Rank 29 of 64, among scored models

Intelligence, Coding and Agentic indices: Artificial Analysis (artificialanalysis.ai). Design categories: Design Arena (designarena.ai). Both are relayed by the OpenRouter public model list and were read on November 21, 2026. We compute ranks, tiers and costs from these numbers; the sources have not reviewed them. Scores belong to the model, not to the route it is served on.

Artificial Analysis · Design Arena · Relayed by OpenRouter. opens in a new tab

Sources and dates

Prices: OpenRouter routes and a second price table, checked November 21, 2026. Specifications: OpenRouter, November 21, 2026. Exchange rate: NBP, November 20, 2026. Benchmarks: Artificial Analysis and Design Arena via OpenRouter.