Models / OpenAI / GPT-5.4 Mini
OpenAI

GPT-5.4 Mini

BYOKClosedReleased 17 Mar 2026

A closed-weight Mini model from OpenAI, released March 2026, with a large context window and tool calling. Most of its benchmark scores sit below the registry median.

Read the full description ↓

Spec sheet

Family
OpenAI
Released
17 Mar 20268 months ago
Weights
Closed
Context window
400k tokens
Largest response
128k tokens
Accepts
text, image, file
Supports
tools, reasoning, structured output
Knowledge cutoff
August 2025
Intelligence index
52.5#80
Input price
$0.75 / 1M
Output price
$4.5 / 1M
Blended price (3:1)
$1.69 / 1M
Index points per $
31.1#64
Speed
98 tokens/sec#42
Popularity
#73 of 194by usage
Providers
2

Benchmarks

Score · rank among models tested

The tick on each bar marks the registry median; hover over a bar for the numbers. Sources and how the index is computed: methodology.

Providers and prices

$ per 1M tokens · from genai-prices
ProviderGatewayPydantic AI model stringInputCached inputOutputBlended
OpenAIgateway/openai:gpt-5.4-mini $0.75$0.075$4.5$1.69
OpenRouterBYOKopenrouter:openai/gpt-5.4-mini $0.75$0.075$4.5$1.69

Every provider charges the same. Blended price assumes three input tokens for each output token.

Example code

# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/openai:gpt-5.4-mini', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)

Ask GPT-5.4 Mini a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

Compare

GPT-5.4 MinivsGemma 4 26B A4B
Intelligence indexOur composite of the benchmarks below, 0-100
GPT-5.4 Mini52.5
Gemma 4 26B A4B52.6
GPQA DiamondGraduate-level science questions, multiple choice
GPT-5.4 Mini86.9%
Gemma 4 26B A4B73.2%
OTIS Mock AIMECompetition mathematics problems with exact answers
GPT-5.4 Mini88.9%
Gemma 4 26B A4B82.2%
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
GPT-5.4 Mini51.2%
Gemma 4 26B A4B–
ARC-AGI-2Abstract visual puzzles that test learning a new rule from a few examples
GPT-5.4 Mini18.9%
Gemma 4 26B A4B–
SimpleQA VerifiedShort factual questions answered from memory, without search
GPT-5.4 Mini29.4%
Gemma 4 26B A4B–
SciCodeScientific programming problems written by researchers
GPT-5.4 Mini52.1%
Gemma 4 26B A4B40%
WebDev ArenaRating from human votes on web apps the models built
GPT-5.4 Mini1397.2
Gemma 4 26B A4B1361.4
LMArena textRating from blind human votes between pairs of chat responses
GPT-5.4 Mini1411.6
Gemma 4 26B A4B1434.2
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
GPT-5.4 Mini149.4
Gemma 4 26B A4B141.6
Input pricePer 1M tokens, lower is better
GPT-5.4 Mini$0.75
Gemma 4 26B A4B$0.15
Output pricePer 1M tokens, lower is better
GPT-5.4 Mini$4.5
Gemma 4 26B A4B$0.6
EfficiencyIndex points per blended $
GPT-5.4 Mini31
Gemma 4 26B A4B200
SpeedOutput tokens per second
GPT-5.4 Mini98 t/s
Gemma 4 26B A4B63 t/s
Context windowTokens
GPT-5.4 Mini400k
Gemma 4 26B A4B262k
Model stringFor Pydantic AI
GPT-5.4 Minigateway/openai:gpt-5.4-mini
Gemma 4 26B A4Bgateway/google-cloud:gemma-4-26b-a4b-it-maas

About GPT-5.4 Mini

Description written by an LLM from the data on this page

A closed-weight Mini model from OpenAI, released March 2026, with a large context window and tool calling. Most of its benchmark scores sit below the registry median.

GPT-5.4 Mini is a closed-weight model from OpenAI, released March 2026. It accepts text, image and file input, supports tool calling and structured output, and has a 400k context window.

Most of its benchmarks sit below the registry median. Its intelligence index is 52.5 against a median of 59.5, ARC-AGI-2 is 18.9% against 61.3%, and GPQA Diamond is 86.9% against 89.8%. Its efficiency rank of 64 of 194 is better than its intelligence rank of 80 of 194.

Its blended price of $1.69 per million tokens is above the median of $1.01, with $4.50 per million output tokens. It suits long-context and tool-using work where cost matters more than top benchmark scores.

Strengths

  • 400k context window and 128k maximum response length
  • Accepts text, image and file input
  • Supports tool calling, structured output and reasoning mode
  • Efficiency rank 64 of 194 at 31.1 intelligence points per dollar

Weaknesses

  • Intelligence index 52.5 against a median of 59.5, 83 of 114
  • ARC-AGI-2 18.9%, 51 of 68, against a median of 61.3%
  • Blended price $1.69 per million tokens, above the $1.01 median

Best for

Agents needing long context, tool calling or file input, where top benchmark scores matter less than cost.

One key, every model

Pydantic AI Gateway gives you the models marked with a single API key, spending limits and Logfire tracing. Bring your own key for the rest.

Start free  Read the docs