Models

GPT 5.4 Mini

tools vision

gpt-5.4-miniGPT-5.4 model fast and mini model.

Input / 1M tokens

$0.75

$0.00000075 / token

Output / 1M tokens

$4.5

$0.0000045 / token

Cached input / 1M

$0.075

Uptime · 24h

—

No traffic yet

Details

Type
Chat
Input
file, image, text
Output
text
Context
400,000 tokens

Supported parameters

max_tokenstemperaturetop_pstopseedpresence_penaltyfrequency_penaltyresponse_formatpluginstoolstool_choiceparallel_tool_calls

Last 24 hours

Requests per hour; red = provider errors.

Avg latency
—
Avg first token
—
Throughput
—

Use it

curl https://staging-api.ultragpt.pro/v1/chat/completions \
  -H "Authorization: Bearer $ULTRAGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.4-mini",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Anthropic SDK / Claude Code

curl https://staging-api.ultragpt.pro/v1/messages \
  -H "x-api-key: $ULTRAGPT_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.4-mini",
    "max_tokens": 1024,
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

More OpenAI models

All OpenAI API (GPT) models and prices

Compare GPT 5.4 Mini

FAQ

How much does the GPT 5.4 Mini API cost?

$0.75 input / $4.5 output per 1M tokens; cached input $0.075 per 1M tokens. You pay per use from a prepaid balance - no subscription, and every response reports its exact cost in usage.cost.

How do I call GPT 5.4 Mini through the API?

Create an UltraGPT API key, point the official OpenAI SDK (or any OpenAI-compatible client) at https://staging-api.ultragpt.pro/v1 and pass "gpt-5.4-mini" as the model. Anthropic SDKs and Claude Code work too, through /v1/messages.

What is the context window of GPT 5.4 Mini?

GPT 5.4 Mini accepts up to 400,000 tokens of context on UltraGPT.

Does GPT 5.4 Mini support tools, vision and reasoning?

Tool / function calling: yes. Image input (vision): yes. Reasoning: no. Input: file, image, text; output: text.