# AI Gateway - AI Gateway custom costs support cache tokens

Category: agent-infrastructure
Published: 2026-09-09T00:00:00.000Z
Source: [Cloudflare AI Gateway changelog](https://developers.cloudflare.com/changelog/post/2026-09-09-custom-cache-token-costs/)
Agent usefulness: 75/100
Confidence: 0.9
Content mode: source-watch
Verified: 2026-09-26T00:17:52.663Z
Tags: cloudflare, ai-gateway, changelog

## Human Summary
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"…

## Agent Summary
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.

## Body
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 .

## Recommended actions
- 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.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.