Seedream 5.0 Pro đã ra mắt | Thử trong Trình tạo ảnh →
openai
openai/gpt-5.4-nano

openai/gpt-5.4-nano

Ngày phát hành: 2026-03-17

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
Cache Read$0.02 / M Tokens

Try the model

openai/gpt-5.4-nano
Online
openai
Hi! I am a helpful AI assistant. What can I do for you?
Sẵn sàng dùng model này trong coding agent local?Setup agent

API Usage

Use the following code examples to integrate with our API:

import OpenAI from 'openai';

if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
  apiKey: process.env.WAVESPEED_API_KEY,
  baseURL: 'https://llm.wavespeed.ai/v1',
  timeout: 120_000,
  maxRetries: 2,
});

try {
  const response = await client.chat.completions.create({
    model: 'openai/gpt-5.4-nano',
    messages: [{ role: 'user', content: 'Hello!' }],
  });
  console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
  console.error('LLM request failed:', error);
  process.exitCode = 1;
}

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.

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?+

WaveSpeedAI exposes GPT 5.4 Nano at https://llm.wavespeed.ai/v1 through the OpenAI-compatible Chat Completions interface. Most OpenAI SDK clients work by changing the base URL and API key; optional fields depend on the selected model.

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 the model id shown above. Check the current model catalog for availability, capabilities, and pricing.

Related LLM APIs

GPT-5.4 Nano | OpenAI Fastest & Cheapest LLM API | WaveSpeedAI