Nano Banana 2 & Pro Sale — 15% OFF | Apr 1–15 Only
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.

定价

按量付费

无需预付费用,仅按实际使用量付费

输入$0.75 / M Tokens
输出$4.50 / M Tokens

API 使用

使用以下代码示例接入我们的 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

支持功能

输入
TextImage
输出
Text
上下文400,000
最大输出128,000
Vision✓ Supported
Function Calling✓ Supported

API 访问指南

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