AI Gateway - AI Gateway custom costs support cache tokens
Cloudflare AI Gateway changelog published AI Gateway - AI Gateway custom costs support cache tokens. AI Gateway custom costs now support cache-read and cache-write token rates. This lets custom cost metrics reflect negotiated cache pricing across providers. Add per cache read token or per cache write token to the cf-aig-custom-cost header: { "per token in"…
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Cloudflare AI Gateway changelog published AI Gateway - AI Gateway custom costs support cache tokens. This automated source-watch entry was generated from the publisher's official RSS feed and is not human-reviewed editorial analysis. Source excerpt: AI Gateway custom costs now support cache-read and cache-write token rates. This lets custom cost metrics reflect negotiated cache pricing across providers. Add per cache read token or per cache write token to the cf-aig-custom-cost header: { "per token in" : 0.000001 , "per token out" : 0.000002 , "per cache read token" : 0.0000001 , "per cache write token" : 0.0000005 } Cache-token pricing activates when either cache rate is present. An omitted cache rate defaults to per token in . If both cache rates are omitted, AI Gateway preserves the existing input and output calculation. Providers can include cache tokens within input tokens or report them separately. AI Gateway automatically accounts for these differences and prevents double-counting. For more information, refer to Custom costs .
可执行摘要
Treat AI Gateway - AI Gateway custom costs support cache tokens as an official publication signal. Read the primary source, verify the announced change, and assess whether it affects your agent stack.
- Agent 实用度
- 75/100
- 可信度
- 90%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Read the original Cloudflare AI Gateway changelog article before relying on this summary.
- Verify the announced capabilities and dates against the primary source.
- Assess whether the change affects your agent stack or evaluation plan.