OpenAI · MODEL SHEET
GPT-5.1-Codex
openai/gpt-5-1-codex-20251113
推理模型图像输入文本综合 #79
输入价 / 1M$1.25/1M≈ ¥8.37
输出价 / 1M$10.00/1M≈ ¥67.0
上下文400K最大输出 128K
上架日期2025-11-13OpenRouter 上架 · 文本+图像 → 文本
各榜排名
同一模型可能只进入部分榜单;没有数据的榜不会显示 0 分。
| 榜单 | 排名 | 分数 | 口径 / 日期 |
|---|---|---|---|
| 文本综合 Artificial Analysis Intelligence Index | #79 | 23.7 | Artificial Analysis Intelligence Index 2026-10-18 · AA via OpenRouter |
价格
厂商官方价尚未核实。以下为第三方聚合参考价,仅作估算,不作为官方口径。
| 档位 | 输入 | 输出 | 缓存读 / 写 | 折算人民币 | 来源 / 日期 |
|---|---|---|---|---|---|
标准 OpenRouter 参考 · 默认 | $1.25/1M | $10.00/1M | $0.1300/1M / — | ¥8.37 / ¥67.0 | 2026-10-18 路由页面 ↗ |
汇率 1 USD = 6.6985 CNY(2026-10-17)。折算价只用于估算, 实际结算以支付渠道和提供方账单为准。
调用方式
代码中只使用环境变量占位,不在页面暴露任何密钥。
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.1-codex",
"messages": [{"role": "user", "content": "你好,请用三句话介绍你自己。"}],
"max_tokens": 512
}'将 OPENROUTER_API_KEY 设为你的密钥后运行。Python 与 Node 示例见 OpenRouter 接入指南。
来源描述(OpenRouter,英文)
GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....