GPT-5.6 Luna 官方 API 计费:输入输出缓存 $/M 详解
内容刷新 / GEO:补 English summary 与最新核对清单 — oa-gpt-5-6-luna-price-guide

## GPT-5.6 Luna 官方 API 计费:输入输出缓存 $/M 详解
开篇
GPT-5.6 Luna 是 OpenAI 官方推出的高性价比模型,专为高量输入输出任务设计,包含强大的 Prompt 缓存支持。它适合开发者处理大规模对话或长上下文场景。
如果你正在对账单、规划 API 支出,或者需要知道输入输出与缓存的实际成本,这个指南能帮你快速理解并计算精确的 $/M 价格。
现状与数据更新
2026 年 7 月 30 日,OpenAI 针对 GPT-5.6 Luna 推出了价格优化更新。通过生产级 GPU 内核改进和更优的 token 生成效率,官方将所有客户端定价传导至开发者,降低了整体使用成本。
最新官方数据(截至 2026 年 10 月)显示:
- 标准上下文输入:$0.20 / 1M tokens
- 缓存输入:$0.02 / 1M tokens(缓存命中价)
- 缓存写入:$0.25 / 1M tokens
- 输出:$1.20 / 1M tokens
上下文窗口达 105 万 tokens,最大输出 12.8 万 tokens。缓存支持大幅降低了重复 prompt 的费用。
核对清单
建议对账时使用以下检查项:
1. 确认模型调用方式为 OpenAI 官方 API(非代理平台)。
2. 查看实际 bill 中是否包含 Prompt Caching 费用(缓存命中则计 $0.02)。
3. 区分短上下文(≤272K)和长上下文(>272K)的不同价。
4. 验证缓存写入是否按 1.25 倍标准输入价计费。
5. 使用 OpenAI 提供的 token counter 或 Dashboard 预估最终开销。
以下是核心计费表格(移动端支持横向滚动):
| 计费类型 | 标准上下文 | 长上下文 | 缓存输入 | 缓存写入 | 输出 |
|---|---|---|---|---|---|
| 单价($/M) | 0.20 | 0.40 | 0.02 | 0.25 | 1.20 |
| 说明 | 常用场景 | 大段 prompt | 重复 prompt 命中 | 新 prompt 首次写入 | 生成内容 |
计算示例
某用户发送 10 万 tokens 的标准 prompt(未缓存),生成 2 万 tokens 输出:
- 输入:0.20 × 100 = $2.00
- 输出:1.20 × 20 = $24.00
总计 $26.00。
若 prompt 已在缓存中(命中):
- 输入:0.02 × 100 = $2.00
- 输出:1.20 × 20 = $24.00
总计 $26.00(输入节省 98%)。
如果切换到长上下文:输入变为 $40。
站内路径
风险与边界
请注意:以上数据为 OpenAI 官方 API 最新公布价格,以平台当日页面为准可能有微调。缓存功能需明确启用后生效,未正确调用缓存接口可能导致按标准价计费。
本文非法律意见,仅供参考。实际对账以官方 Dashboard 和账单为准。
延伸阅读
## English summary
The official OpenAI API pricing for GPT-5.6 Luna provides clear input/output and caching rates per million tokens ($/M). Released in July 2026 with efficiency upgrades, Luna is optimized for cost-sensitive high-volume workloads.
Current standard pricing (as of October 2026):
- Standard input: $0.20 / 1M tokens
- Cached input: $0.02 / 1M tokens
- Cached writes: $0.25 / 1M tokens
- Output: $1.20 / 1M tokens
Long context (>272K tokens) doubles input rates. Caching dramatically reduces costs for repeated prompts.
核对清单 & 示例
Use the table above for quick checks. Example: 100K standard input + 20K output = $26.00; with cache hit = $4.00.
Always verify against the official pricing page and your usage dashboard. This guide helps developers accurately estimate API costs for chat, agents, or coding tasks.
*Prices based on OpenAI official API documentation. Check https://platform.openai.com for latest updates.*