Moduck

OpenAI: GPT-5.4 mini

Strong small GPT for coding subagents, quick tool use, and high-volume work

Model lab
OpenAI
Model family
gpt-mini
Modalitiestext, image → text
Context window400,000
Maximum output128,000
InputUSD 0.6 / 1M tokens
OutputUSD 3.6 / 1M tokens

Quickstart

Use your Moduck API Key, set the API base URL to https://api.moduck.ai/v1, and set the model parameter to openai/gpt-5.4-mini.

import os
import requests

base_url = "https://api.moduck.ai/v1"
api_key = os.environ["MODUCK_API_KEY"]
model_id = "openai/gpt-5.4-mini"

response = requests.post(
    f"{base_url}/chat/completions",
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    json={
        "model": model_id,
        "messages": [{"role": "user", "content": "Hello!"}],
        "stream": False,
    },
    timeout=60,
)
response.raise_for_status()
print(response.json())

Use the familiar OpenAI-style chat request format to make model integration easier.

GPT-5.4 mini API Pricing

TypePrice information
InputUSD 0.6 / 1M tokens
OutputUSD 3.6 / 1M tokens
Cached inputUSD 0.06 / 1M tokens

Benchmarks

Medium

Intelligence Index · v4.319.7
Coding Index—
Agentic Index—

Non-reasoning

Intelligence Index · v4.311.1
Coding Index—
Agentic Index—

Xhigh

Intelligence Index · v4.324.1
Coding Index56.1
Agentic Index17.9
BenchmarkScoreMeasurementSource
SWE-Bench Pro54.4resolve rate · Variant: reasoning effort xhigh · Date: 2026-03-17
Terminal-Bench60accuracy · Variant: reasoning effort xhigh · Version: 2.0 · Date: 2026-03-17
MCP Atlas57.7score · Variant: reasoning effort xhigh · Date: 2026-03-17
Toolathlon42.9score · Variant: reasoning effort xhigh · Date: 2026-03-17
τ²-Bench Telecom93.4accuracy · Variant: reasoning effort xhigh · Date: 2026-03-17
GPQA Diamond88accuracy · Variant: reasoning effort xhigh · Date: 2026-03-17
Humanity's Last Exam41.5accuracy · Variant: with tools · Date: 2026-03-17
Humanity's Last Exam28.2accuracy · Variant: without tools · Date: 2026-03-17
OSWorld-Verified72.1success rate · Variant: reasoning effort xhigh · Date: 2026-03-17
MMMU Pro78accuracy · Variant: with Python · Date: 2026-03-17
MMMU Pro76.6accuracy · Variant: without tools · Date: 2026-03-17
OmniDocBench0.126overall edit distance · Variant: reasoning effort none · Version: 1.5 · Date: 2026-03-17
OpenAI MRCR47.7accuracy · Variant: 8-needle, 64K-128K · Version: v2 · Date: 2026-03-17
OpenAI MRCR33.6accuracy · Variant: 8-needle, 128K-256K · Version: v2 · Date: 2026-03-17
Graphwalks76.3accuracy · Variant: BFS, 0-128K · Date: 2026-03-17
Graphwalks71.5accuracy · Variant: parents, 0-128K · Date: 2026-03-17

Performance

Measured on the Moduck gateway across live traffic, hour by hour over the last 24 hours. Time to first token is how long before anything appears; throughput is how fast the answer is written after that; end-to-end latency is the whole round trip. Figures are medians unless the card says otherwise.

Artificial Analysis measurement · Medium

Output speed211.41 tokens/s
Time to first token3.42 s
Time to first answer token—
End-to-end response time—
Measurement variantOutput speedTime to first tokenTime to first answer tokenEnd-to-end response time
Medium211.41 tokens/s3.42 s——
Non-reasoning197.01 tokens/s0.71 s——
Xhigh264.97 tokens/s97.01 s——

Performance trends

Throughput211.41 tok/sCurrent
Time to first token3.42 sCurrent
End-to-end latency8.0 sCurrent
Throughput
Current211.41 tok/s
Window average213.3 tok/s
Time to first token
Current3.42 s
Window average4.1 s
End-to-end latency
Current8.0 s
Window average7.5 s
Tail latency (P99)
Current17.8 s
Window average16.8 s
Prompt cache hit rate
Current31.3%
Window average22.6%
Error rate
Current0.0%
Window average0.2%

Availability

Uptime is the share of time at least one provider serving this model responded. Availability is stricter: the share of requests actually served. A provider that answers but fails part of the traffic lowers availability without lowering uptime. Both cover the last three days.

Uptime100%At least one provider responded
Availability100%Requests actually served
Error rate0%Share of failed requests
Served requests, hour by hour
24 hours agoNow

GPT-5.4 mini Compare models

ModelInput priceOutput priceContext windowCapabilities
GPT-5.4 miniThis pageUSD 0.6 / 1M tokensUSD 3.6 / 1M tokens400,000Text output · Reasoning · Tool calling
GPT-5 MiniUSD 0.1 / 1M tokens · Service tier flexUSD 0.8 / 1M tokens · Service tier flex400,000Text output · Reasoning · Tool calling
GPT-4.1 miniUSD 0.32 / 1M tokensUSD 1.28 / 1M tokens1,047,576Text output · Tool calling
GPT-4o miniUSD 0.06 / 1M tokensUSD 0.24 / 1M tokens128,000Text output · Tool calling
GPT-5.6 CyberUSD 10 / 1M tokensUSD 60 / 1M tokens400,000Text output · Reasoning · Tool calling

Model specifications

Input
text, image
Output
text
Context window
400,000
Maximum input
272,000
Maximum output
128,000
Release date
2026-03-17
Attachments
Yes
Reasoning
Yes
Tool calling
Yes
Structured output
Yes
Temperature setting
Yes
Open weights
No

Frequently asked questions

What is GPT-5.4 mini for?

Strong small GPT for coding subagents, quick tool use, and high-volume work

What inputs and outputs does GPT-5.4 mini support?

Recorded inputs: text, images; outputs: text.

How is GPT-5.4 mini priced?

The pricing table shows the current recorded Moduck price. For example: Input USD 0.6 / 1M tokens; Output USD 3.6 / 1M tokens. See the pricing table for all units, variants, and conditions.

What specifications are recorded for GPT-5.4 mini?

Current model records list Context window 400,000 tokens; Maximum output 128,000 tokens.

What model parameter does the Quickstart use?

The example uses openai/gpt-5.4-mini. This value comes from the page identifier and is not confirmed as a callable Moduck public ID.

Can I call this model through the Moduck API now?

This page has no verified Moduck API call for this model. A Quickstart example or reserved ID does not establish access; check the models available to your account.