OpenAI · MODEL SHEET

GPT-4o (2024-08-06)

openai/gpt-4o-2024-08-06
图像输入文本综合 #177
输入价 / 1M$2.50/1M≈ ¥16.7
输出价 / 1M$10.00/1M≈ ¥67.0
上下文128K最大输出 16K
上架日期2024-08-06OpenRouter 上架 · 文本+图像+文件 → 文本

各榜排名

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

1 个榜
榜单排名分数口径 / 日期
文本综合
Artificial Analysis Intelligence Index
#1777.7
Artificial Analysis Intelligence Index
2026-10-18 · AA via OpenRouter

价格

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

档位输入输出缓存读 / 写折算人民币来源 / 日期
标准
OpenRouter 参考 · 默认
$2.50/1M$10.00/1M$1.25/1M / —¥16.7 / ¥67.0
2026-10-18
路由页面 ↗

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

调用方式

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

OpenRouter
OpenAI 兼容 · https://openrouter.ai/api/v1
openai/gpt-4o-2024-08-06
环境变量 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-4o-2024-08-06",
    "messages": [{"role": "user", "content": "你好,请用三句话介绍你自己。"}],
    "max_tokens": 512
  }'

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

来源描述(OpenRouter,英文)

The 2024-08-06 version of GPT-4o offers improved performance in structured outputs, with the ability to supply a JSON schema in the respone_format. Read more [here](https://openai.com/index/introducing-structured-outputs-in-the-api/). GPT-4o ("o" for "omni") is...