OpenAI · MODEL SHEET

GPT-5.4 Mini

openai/gpt-5-4-mini-20260317
推理模型图像输入编程 #42
输入价 / 1M$0.7500/1M≈ ¥5.02
输出价 / 1M$4.50/1M≈ ¥30.1
上下文400K最大输出 128K
上架日期2026-03-17OpenRouter 上架 · 文件+图像+文本 → 文本

各榜排名

同一模型可能只进入部分榜单;没有数据的榜不会显示 0 分。

3 个榜
榜单排名分数口径 / 日期
编程
Artificial Analysis Coding Index
#4256.1
Artificial Analysis Coding Index
2026-10-18 · AA via OpenRouter
Agent / 工具调用
Artificial Analysis Agentic Index
#4517.9
Artificial Analysis Agentic Index
2026-10-18 · AA via OpenRouter
文本综合
Artificial Analysis Intelligence Index
#7724.1
Artificial Analysis Intelligence Index
2026-10-18 · AA via OpenRouter

价格

厂商官方价尚未核实。以下为第三方聚合参考价,仅作估算,不作为官方口径。

档位输入输出缓存读 / 写折算人民币来源 / 日期
标准
OpenRouter 参考 · 默认
$0.7500/1M$4.50/1M$0.0750/1M / —¥5.02 / ¥30.1
2026-10-18
路由页面 ↗
批量
OpenRouter 参考
$0.3750/1M$2.25/1M$0.0375/1M / —¥2.51 / ¥15.1
2026-10-18
路由页面 ↗

汇率 1 USD = 6.6985 CNY(2026-10-17)。折算价只用于估算, 实际结算以支付渠道和提供方账单为准。

调用方式

代码中只使用环境变量占位,不在页面暴露任何密钥。

OpenRouter
OpenAI 兼容 · https://openrouter.ai/api/v1
openai/gpt-5.4-mini
环境变量 OPENROUTER_API_KEY
cURL · OpenRouter
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.4-mini",
    "messages": [{"role": "user", "content": "你好,请用三句话介绍你自己。"}],
    "max_tokens": 512
  }'

将 OPENROUTER_API_KEY 设为你的密钥后运行。Python 与 Node 示例见 OpenRouter 接入指南。

来源描述(OpenRouter,英文)

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,...