Seedance 2.0 | Special Offer ✦ 10% OFF NOW
openai
openai/gpt-5.4-mini

openai/gpt-5.4-mini

400,000 context · $0.75/M input tokens · $4.50/M output tokens

GPT-5.4 mini brings the core capabilities of GPT-5.4 to a faster, more efficient model optimized for high-throughput workloads. It supports text and image inputs with strong performance across reasoning, coding, and tool use, while reducing latency and cost for large-scale deployments. The model is designed for production environments that require a balance of capability and efficiency, making it well suited for chat applications, coding assistants, and agent workflows that operate at scale. GPT-5.4 mini delivers reliable instruction following, solid multi-step reasoning, and consistent performance across diverse tasks with improved cost efficiency.

Pricing

Pay-per-use

No upfront costs, pay only for what you use

Input$0.75 / M Tokens
Output$4.50 / M Tokens

API Usage

Use the following code examples to integrate with our API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="openai/gpt-5.4-mini",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Info

Provideropenai
Typellm

Supported Functionality

Input
TextImage
Output
Text
Context400,000
Max Output128,000
Vision✓ Supported
Function Calling✓ Supported

API Access Guide

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDopenai/gpt-5.4-mini

GPT 5.4 Mini API

openai/gpt-5.4-mini

GPT-5.4 mini brings the core capabilities of GPT-5.4 to a faster, more efficient model optimized for high-throughput workloads. It supports text and image inputs with strong performance across reasoning, coding, and tool use, while reducing latency and cost for large-scale deployments. The model is designed for production environments that require a balance of capability and efficiency, making it well suited for chat applications, coding assistants, and agent workflows that operate at scale. GPT-5.4 mini delivers reliable instruction following, solid multi-step reasoning, and consistent performance across diverse tasks with improved cost efficiency.

Input

$0.75 /M

Output

$4.5 /M

Context

400K

Max Output

128K

Vision

Supported

Tool Use

Supported

Try GPT 5.4 Mini on WaveSpeedAI

Access GPT 5.4 Mini through our unified API — OpenAI-compatible, no cold starts, transparent pricing.

Open Playground

Frequently Asked Questions about GPT 5.4 Mini

How much does GPT 5.4 Mini cost via the API?+

Pricing on WaveSpeedAI: $0.75 per million input tokens and $4.50 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.

What is the context window of GPT 5.4 Mini?+

GPT 5.4 Mini supports up to 400K tokens of context with up to 128K tokens of output per request.

Is GPT 5.4 Mini OpenAI-compatible?+

Yes. WaveSpeedAI exposes GPT 5.4 Mini through an OpenAI-compatible endpoint at https://llm.wavespeed.ai/v1. Point the official OpenAI SDK at this base URL with your WaveSpeedAI API key — no other code changes required.

How do I get started with GPT 5.4 Mini?+

Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with model id set to the value shown above. New accounts receive free credits to evaluate GPT 5.4 Mini before paying per token.

Related LLM APIs