2026 OpenAI 官方 Token 价表怎么读:输入/输出/缓存字段
OpenAI 自动回退选题:结合站内路径的核对清单。

## 2026 OpenAI 官方 Token 价表怎么读:输入/输出/缓存字段
OpenAI 官方 API 计费以 $ /M(每百万 tokens)为单位,按输入、输出和缓存字段分别收费。2026 年版价表覆盖 GPT-6 系列旗舰模型、cyber 和 life sciences 专项模型等,价格已大幅下调。
如果你是开发人员或企业用户,需要核对账单、计算工作负载成本,或对比 ChatGPT Plus 与纯 API 使用方式,本指南提供可执行的字段拆解方法和检查清单,适合预算规划和日常对账。
定价字段核心解析
输入:用户发送给模型的 prompt 和历史对话,决定模型思考复杂度。
输出:模型生成的内容(文字、代码、图像等),通常成本最高。
缓存:重复出现的 prompt 片段(prompt caching)可按 1/10–1/50 价格重复利用,显著降低长期成本。官方提供 30 分钟写缓存和 12 小时写缓存两种时长。
这些字段在 API dashboard 和 billing 页面可实时查看,配合 token-counting 工具可精确核对。
2026 OpenAI 官方 Token 价表(旗舰模型)
以下为标准处理模式下的官方定价(每百万 tokens),数据来源于 OpenAI 官方 API 定价页。实际以账号 dashboard 或官方页面最新数据为准,regional 端点(数据驻留)加 10% 费用。
| 模型 | 输入 ($/M) | 输出 ($/M) | 缓存输入 ($/M) | 30m 写缓存 ($/M) | 12h 写缓存 ($/M) |
|---|---|---|---|---|---|
| gpt-6-astra | 10.00 | 50.00 | 1.00 | 12.50 | 25.00 |
| gpt-6.1-sol | 2.00 | 10.00 | 0.10 | 2.50 | 5.00 |
| gpt-6.1-terra | 1.00 | 5.00 | 0.05 | 1.25 | 2.50 |
| gpt-6-luna | 0.10 | 0.50 | 0.01 | 0.125 | 0.25 |
cyber 模型示例(daybreak 系列)
- gpt-5.6-sol:输入 4.00、输出 20.00、缓存 0.40 /M
- gpt-5.6-cyber:输入 12.50、输出 75.00、缓存 1.25 /M
life sciences 模型示例(rosalind 系列)
- gpt-6-rosalind:输入 15.00、输出 75.00、缓存 1.50 /M
- gpt-rosalind-research:输入 5.00、输出 25.00、缓存 0.50 /M
multimodal 与其他专项
图像生成(如 gpt-image-2.5-sunburst):输入 8.00、输出 30.00、缓存输入 2.00 /M
实时语音(如 gpt-realtime-2.1):输入 32.00、输出 64.00、缓存输入 0.40 /M
怎么用价表计算实际成本(实用方法)
1. 准备 prompt 和输出样本。
2. 统计输入 tokens 和输出 tokens(可用官方 token-counter 或第三方工具)。
3. 识别是否重复 prompt 部分:若有,标记缓存可用 tokens。
4. 套入对应模型的输入/输出/缓存价格公式:
总成本 = 输入价格 × 总输入 tokens + 输出价格 × 总输出 tokens + 缓存价格 × 缓存 tokens
5. 考虑批处理或 fast 模式可享 50% 折扣。
6. 每月查看 dashboard 累计消费,确保设置预算上限。
示例:使用 gpt-6.1-sol 处理 10 万 tokens 输入(含 5 万 tokens 可缓存)和 2 万 tokens 输出:
总成本 = (2.00 × 10 万) + (10.00 × 2 万) + (0.10 × 5 万) = 20,000 + 20,000 + 500 = $40,500。
风险与边界
2026 年 OpenAI 官方 API 价格更新频繁,定价可能随模型迭代或地区调整。请始终以官方平台最新数据为准。以上内容非法律意见,仅供参考。使用 OpenAI API 需遵守官方服务条款,避免未授权行为。
延伸阅读
- 官方 API 价格页面(含完整模型目录和缓存指南)
- 官方 API 文档(token 计算、billing 路径和迁移教程)
- API 路线图与示例(实际代码演示和 transit 实践)
- 账单核对路径(详细字段对照工具)
- 模型与定价示例(实时数据表)
- API 入门指南(从零构建 transit 应用)
English summary
OpenAI official token pricing in 2026 is billed per million tokens ($/M), with separate rates for input, output, and prompt caching. The updated price table covers flagship GPT-6 models and specialized lines such as cyber and life sciences, with major cost reductions for cached inputs. Readers can use the provided table and step-by-step calculation examples to review API bills, compare GPT-6.1-sol against gpt-6-astra, or plan workloads for gpt-6.1-terra. Always cross-check the latest figures on the official API pricing page, as regional endpoints add a 10% uplift. This guide helps developers and enterprises accurately decode billing fields and avoid unexpected costs. For full details and model catalogs, refer to the linked OpenAI developer resources. Pricing is subject to change and should be verified in your account dashboard.