
GPT-4o 系价表怎么读:输入输出缓存三列
OpenAI 官方定价页里,GPT-4o 系模型的账单完全由 input tokens、output tokens、cached tokens 三列决定。
如果你是开发者或公司日常调用 ChatGPT API,掌握这三列就能精确对账、算出真实 $/M 成本、区分 ChatGPT Plus 与纯 API 账单。
本指南直接教你读懂表格,配合站内对照表和清单,避免每月账单超支。
核心概念与术语
OpenAI 官方 API 使用 $/M tokens(每百万 tokens 计费)作为基础单位。
GPT-4o 系列(含 gpt-4o、gpt-4o-mini 等变体)支持 Prompt Caching,让重复输入获得缓存优惠。
三大列解释:
- 输入 (Input):发送给模型的文本或图像 tokens 数量。
- 输出 (Output):模型返回的 tokens 数量,通常占总花费的 70-80%。
- 缓存 (Cached):已缓存过的输入 tokens 享受约 50% 优惠(例如 GPT-4o 标准输入 $2.50/M,缓存输入 $1.25/M)。缓存写(Cache writes)可能额外收取,但通常不单独显示。
这些价格仅限官方直连 API,ChatGPT Plus 订阅版不含此计费。
数据以 2026 年 8 月官方定价为准,实际以 OpenAI 官方定价页 和 Token 单价表 为准。
决策表:GPT-4o 系 vs 其他模型对比
| 模型 | 输入 $/M | 输出 $/M | 缓存输入 $/M | 适用场景(谁该用) | 推荐人群 |
|---|---|---|---|---|---|
| GPT-4o | $2.50 | $10.00 | $1.25 | 通用智能、多模态对话、图像理解 | 中大型团队,预算充足 |
| GPT-4o mini | $0.15 | $0.60 | $0.075 | 日常小任务、批量处理、成本敏感应用 | 开发者、小公司 |
| GPT-4o (Realtime) | $5.00 | $20.00 | $2.50 | 实时语音、视频对话 | 企业级低延迟需求 |
| 其他 OpenAI(o 系列) | $1.10–$15 | $8–$60 | 50% 优惠 | 复杂推理、Agent 任务 | 高精度需求 |
决策公式:
总花费 ≈ (输入量 × 输入单价) + (输出量 × 输出单价) - (缓存命中量 × 缓存单价)
缓存命中率 > 60% 时缓存显著省钱。
实操清单:分步可核对
1. 登录 OpenAI 开发者平台,查看账户账单 → “Usage” 标签页。
2. 导出 CSV:选择时间范围,复制所有 “Input tokens”、“Output tokens”、“Cached tokens” 列。
3. 拆分模型:按模型(如 gpt-4o、gpt-4o-mini)聚合数据。
4. 对照官方价表:进入 Token 单价表 对照三列单价。
5. 计算有效单价:用公式 有效 $/M = (Input + Output + 缓存调整) / 总 tokens。
6. 检查缓存命中:账单里 “Cached tokens” 占比高则成功;否则优化提示词复用。
7. 区分 Plus 与 API:Plus 月费已包含额度,不再按 token 计费。
8. 每月复核:用 站内计费工具 验证中转有效价。
常见坑与风险边界
- 输出 Token 吃掉预算:多数对话场景输出量远大于输入,忽略输出单价最容易超支。
- 缓存命中率低:短请求或无重复提示词时缓存几乎不生效,相当于正常输入价。
- ChatGPT Plus 与 API 混算:Plus 会员有每日限额,不等于无限 API 调用。
- 中转倍率:官方基价 + 综合倍率(通常 0.05–0.2)才是实际到手价,账单差异可能达 10 倍。
- 多模态误判:图片/音频额外计费,账单字段常被忽略。
注意:以上仅供参考,非法律意见。实际价格以 OpenAI 官网挂牌数据为准,汇率、税费另计。
站内路径:相关工具与页面
- 官方 API 价格对照表 —— 查看订阅 Plan 与 API 分账
- Token 单价表 —— GPT-4o 系输入输出缓存三列完整数据
- API 中转与倍率指南 —— 算有效单价的核对工具
- OpenAI 官方 API 使用指南 —— 账单习惯与对账清单
- ChatGPT Plus 与 API 账单分账专文 —— 明确两条账单界限
延伸阅读
English summary
The GPT-4o series price table is the core way to read OpenAI official API billing. Three columns — input, output, and cached tokens — determine exact costs per million tokens. Output tokens usually dominate expenses, so monitoring them is essential for budgeting. ChatGPT Plus subscriptions and pure API usage are completely separate lines and must not be mixed. Cache pricing offers up to 50% savings on repeated prompts over 1,024 tokens, making it ideal for long-context agents or multi-turn conversations. Effective price calculation involves official $/M rates multiplied by usage structure and transit multipliers. Developers and teams should regularly export usage logs, cross-check against the official pricing page, and optimize prompts for higher cache hit rates to avoid unexpected charges. Always verify the latest figures directly on OpenAI’s platform, as pricing updates frequently. This guide helps users reconcile monthly bills accurately and decide between subscription plans and API calls based on volume and reuse patterns.