官方API

2026 OpenAI 官方 Token 价表怎么读:GPT-5.6 Sol/Terra/Luna 输入/输出/缓存字段全解析

教你轻松读懂 OpenAI GPT-5.6 官方 API 价格表,精确到每个 $/M 字段,解决账单对账难题

Full article body is primarily in Chinese for SEO depth; key points above are localized. Use the language switcher and deep links for global navigation.

## 如何快速浏览 OpenAI 官方定价页

OpenAICN 作为 OpenAI / 官方 API 计费对照站,帮你一眼看清 GPT-5.6 系列定价,避免对账单算错 $/M 导致预算超支。

定价页 https://openai.com/api/pricing/ 和 https://developers.openai.com/api/docs/pricing 是官方唯一来源,2026 年 7 月 30 日更新后价格已稳定。

快速浏览三步

  1. 定位 Flagship models 板块,找到 GPT-5.6 Sol / Terra / Luna。
  2. 查看 Standard 列,重点读 Input / Cached input / Output 三字段(缓存字段全解析见下文)。
  3. 注意 Long contextCache writes 列,以及 Batch / Fast mode 折扣。

这些字段直接决定你的 API 账单单价,精确到每个 $/M tokens。

## GPT-5.6 系列三种主力模型核心数据表

GPT-5.6 分为 Sol(旗舰代理)、Terra(均衡高频)、Luna(日常高速)三款,均为 OpenAI 官方 API 模型。

模型标准输入 ($/M)缓存输入 ($/M)输出 ($/M)适用场景
GPT-5.6 Sol$5.00$0.50$30.00复杂代理、长推理任务
GPT-5.6 Terra$2.00$0.20$12.00日常高量生产工作
GPT-5.6 Luna$0.20$0.02$1.20高速低成本日常处理

缓存命中率 越高,实际到账单金额越低(可省 90% 输入成本)。长期上下文(>272K 输入)按 2x 输入 / 1.5x 输出计费。

## 输入、输出、缓存三字段拆解与计算示例

  • 输入:Prompt(系统提示 + 用户消息)。缓存命中时只需支付 10% 标准单价。
  • 输出:模型生成文本。输出永远是输入的 6 倍(Sol 30:5)。
  • 缓存输入:OpenAI 官方 Prompt Caching 机制。命中时按 $0.50(Sol)/ $0.20(Terra)/ $0.02(Luna)计费,节省 90%。

计算示例(以 100K tokens 输入 + 20K 输出为例):

  • 不使用缓存:Sol = 100K × 5 + 20K × 30 = $1,700
  • 启用缓存(命中率 100%):Sol = 100K × 0.5 + 20K × 30 = $500(节省 70%)

缓存写入(首次写入)按 1.25× 标准输入计费。建议固定系统提示为缓存前缀,避免多次写入。

## 如何用表格判断每种模型的适用场景

模型推荐场景不推荐场景性价比优势
GPT-5.6 Sol长推理、多轮代理、Agentic 工作低延迟高频简单查询旗舰能力匹配最高价
GPT-5.6 Terra生产流水线、高频任务极致复杂推理平衡 90% 成本
GPT-5.6 Luna日常聊天、批处理、测试需要高智能长上下文最低成本,适合 Luna 模式

决策原则:高智能任务优先 Sol,批量脚本选 Terra,速度/成本敏感选 Luna。实际账单中,缓存命中率 >70% 时,Luna 成本可低至 Sol 的 1/100。

## 批量处理与缓存命中后实际到账单金额

使用 Batch API 可享 -50% 输入输出折扣,缓存命中率 100% 时:

  • Terra 单次 1M tokens:标准 $2.20,缓存后 $1.20(节省 45%)。
  • 连续 10M tokens 任务:缓存启用后,实际到账单约 $12(Luna 更低)。

OpenAICN 建议读者定期抓取账单中的 usage.prompt_tokensusage.completion_tokens,对比缓存日志,精确核对 $/M。

## 常见对账场景速查表

场景推荐模型预计实际 $/M备注
复杂 Agentic 任务Sol$5–30缓存 90% 后降至 $5–6
高频生产脚本Terra$2–12Batch + 缓存最优
日常 API 测试Luna$0.20–1.20缓存命中率 >80%
长上下文(>272K)Sol$10–45长上下文表计费

## 总结:读表后的省钱建议

  1. 开启 Prompt Caching(官方文档指引),固定系统提示。
  2. 批量任务优先 Batch API。
  3. 监控 Fast mode(Sol 快模式,价格 2 倍但速度 2.5 倍)。
  4. 定期检查官方定价页,缓存命中率提升是最大节省点。

## 延伸阅读

## 风险与边界 定价信息来源于官方定价页,仅供参考。OpenAI 可能因市场、政策或技术调整价格。非法律意见,仅供技术决策参考。实际账单以 OpenAI 账户为准。

## English summary

This guide shows you exactly how to read the 2026 OpenAI GPT-5.6 official pricing table to avoid billing surprises.

The three flagship models — GPT-5.6 Sol ($5/$30), Terra ($2/$12), and Luna ($0.20/$1.20) per million tokens — each have distinct input, cached input, and output fields.

Cached input offers a 90% discount, making prompt caching the biggest way to slash real costs.

Use the tables above to match models to workloads and calculate exact $/M for your API usage.

Batch API (-50% discount) and long-context pricing rules are also covered for precise reconciliation.

OpenAICN helps developers and teams quickly check their OpenAI API bills against the official table and plan budgets accordingly.

Prices are current as of August 2026 and subject to change — always verify on openai.com/api/pricing for the latest.

适用于 GrokCode 倍率榜。信息仅供参考,不构成购买、投资或法律意见。