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

openai/gpt-5.4-nano

400,000 context · $0.20/M input tokens · $1.25/M output tokens

GPT-5.4 nano is the most lightweight and cost-efficient variant of the GPT-5.4 family, optimized for speed-critical and high-volume tasks. It supports text and image inputs and is designed for low-latency use cases such as classification, data extraction, ranking, and sub-agent execution. The model prioritizes responsiveness and efficiency over deep reasoning, making it ideal for pipelines that require fast, reliable outputs at scale. GPT-5.4 nano is well suited for background tasks, real-time systems, and distributed agent architectures where minimizing cost and latency is essential.

Pricing

Pay-per-use

No upfront costs, pay only for what you use

Input$0.20 / M Tokens
Output$1.25 / 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-nano",
    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-nano

GPT 5.4 Nano API

openai/gpt-5.4-nano

GPT-5.4 nano is the most lightweight and cost-efficient variant of the GPT-5.4 family, optimized for speed-critical and high-volume tasks. It supports text and image inputs and is designed for low-latency use cases such as classification, data extraction, ranking, and sub-agent execution. The model prioritizes responsiveness and efficiency over deep reasoning, making it ideal for pipelines that require fast, reliable outputs at scale. GPT-5.4 nano is well suited for background tasks, real-time systems, and distributed agent architectures where minimizing cost and latency is essential.

Input

$0.2 /M

Output

$1.25 /M

Context

400K

Max Output

128K

Vision

Supported

Tool Use

Supported

Try GPT 5.4 Nano on WaveSpeedAI

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

Open Playground

Frequently Asked Questions about GPT 5.4 Nano

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

Pricing on WaveSpeedAI: $0.20 per million input tokens and $1.25 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 Nano?+

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

Is GPT 5.4 Nano OpenAI-compatible?+

Yes. WaveSpeedAI exposes GPT 5.4 Nano 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 Nano?+

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 Nano before paying per token.

Related LLM APIs