openai/gpt-5.4-mini
發布時間: 2026-03-17
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.
按用量付費
無需預付費用,僅按實際使用量付費
使用以下程式碼範例整合我們的 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-mini',
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}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-mini',
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}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.
輸入
$0.75 /M
輸出
$4.5 /M
上下文
400K
最大輸出
128K
Vision
支援
工具調用
支援
WaveSpeedAI 定價:輸入每百萬 token $0.75,輸出每百萬 token $4.50。Prompt 快取與批次處理分別計費,可顯著降低長上下文、高重複任務的實際成本。
GPT 5.4 Mini 每次請求最多支援 400K 上下文 token,輸出最多 128K token。
WaveSpeedAI 透過 https://llm.wavespeed.ai/v1 的 OpenAI 相容 Chat Completions 介面提供 GPT 5.4 Mini。大多數 OpenAI SDK 用戶端只需更換 base URL 和 API Key;選用欄位取決於具體模型。
登入 WaveSpeedAI,在 Access Keys 中建立 API Key,然後使用上方顯示的 model id 向 https://llm.wavespeed.ai/v1/chat/completions 發送請求。模型可用性、能力和價格請以目前模型目錄為準。