GPT text model pricing has been updated. All GPT text models are now billed at 10% of OpenAI's official API prices, including the latest official price reductions for GPT-5.6 Terra and Luna.View latest pricing
OpenAI

GPT-5.4 mini

Official

openai/gpt-5.4-mini

The efficient member of the GPT-5 family, tuned for high-throughput, latency-sensitive workloads. Text + image input, 400K-token context, strong reasoning/coding/tool use at the lowest GPT-5 per-token rate.

400K contextVisionReasoningTool callingCodingPrompt cache

Pricing

Source: openai_x0.10 · Verified 2026-08-02

InputOfficial $0.75 / M tokens
$0.075/ M tokensSave 90%
OutputOfficial $4.5 / M tokens
$0.45/ M tokensSave 90%

Fast $0.15 / $0.9 /M

Cache read $0.0075/M · Cache write /M

TierInputCache readCache writeOutput
Standard$0.075$0.75 90%$0.0075$0.075 90%$0.45$4.5 90%
Priority$0.15$1.5 90%$0.015$0.15 90%$0.9$9 90%

Estimate cost

Estimated cost$0.0012

Protocols

  • OpenAI Chat CompletionsStatus: Available: Streaminghttps://api.routemux.com/v1
  • OpenAI ResponsesStatus: Available: Streaminghttps://api.routemux.com/v1
  • Anthropic MessagesStatus: Available: Streaminghttps://api.routemux.com/anthropic
  • Google Vertex AIStatus: Not supported
  • OpenAI ImagesStatus: Not supported
  • OpenAI SoraStatus: Not supported

Call IDs

Use either ID to call this model via the API.

RouteMux nameopenai/gpt-5.4-mini

Try it

Replace the ROUTEMUX_KEY placeholder with your API key. Create one →

from openai import OpenAI

client = OpenAI(
    base_url="https://api.routemux.com/v1",
    api_key="<ROUTEMUX_KEY>",
)

completion = client.chat.completions.create(
    model="openai/gpt-5.4-mini",
    messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)
base_url: https://api.routemux.com/v1

Other variants in this family

Frequently asked questions

What is GPT-5.4 mini?

OpenAI GPT-5.4 mini — fast, cheapest GPT-5 text route.

How large is the context window of GPT-5.4 mini?

GPT-5.4 mini supports a context window of up to 400K tokens, with up to 128K output tokens per request.

How much does the GPT-5.4 mini API cost?

Through RouteMux, GPT-5.4 mini costs $0.075 for input and $0.45 for output (USD per 1M tokens), below the official list price.

How do I call GPT-5.4 mini via API?

GPT-5.4 mini is OpenAI-compatible: point your base URL at RouteMux and set the model field to openai/gpt-5.4-mini — no code changes needed.

Which input and output modalities does GPT-5.4 mini support?

GPT-5.4 mini accepts text, image as input and produces text as output.