UK-based independent AI efficiency projectEvidence before claims ยท 2026

Cached Input Is a Separate Usage Field, Not Free Extra Context

Uncached input, cached input and output appear as separate fields; cache writes or storage may have separate provider rules.

Written by

Token Optimisation

in

,

Classification: provider-specific usage/pricing guidance. Check official documentation for the selected model and date; there is no universal cache definition.

Cached Input: Preserve the Providerโ€™s Separate Usage FieldPROVIDER-SPECIFIC ACCOUNTING ยท ONE ZERO IS NOT A GENERAL RULE. UNCACHED INPUT โ†’ CACHED INPUT โ†’ OUTPUT โ†’ DATED RATE RULES. Zero cached input is specific to the single canary; this is not evidence that cache never occurs or is free.PROVIDER-SPECIFIC ACCOUNTING ยท ONE ZERO IS NOT A GENERAL RULE1UNCACHED INPUT2CACHED INPUT3OUTPUT4DATED RATE RULESOne canary: 0 cached input ยท Provider definitions vary
PROVIDER-SPECIFIC ACCOUNTING ยท ONE ZERO IS NOT A GENERAL RULE. Zero cached input is specific to the single canary; this is not evidence that cache never occurs or is free.

When a provider reports cached input separately, preserve that field instead of adding it to ordinary input a second time. Cached input is still part of the request context; billing treatment and eligibility depend on provider and product.

Keep the counters distinct

  • Uncached input: provider-reported input not classified as cached for that request.
  • Cached input: provider-reported cache-read usage under the provider’s definition.
  • Output: generated tokens, often priced separately.
  • Cache writes/storage: may have separate pricing or timing rules and may be excluded from a simple estimate.

Do not infer a cache hit from prompt similarity. Record the fields returned for each attempt and compare equal workloads. A zero in one run means that run reported zero; it does not establish a model’s general cache behaviour.

Price sources and exclusions

The Context Cost Calculator links to official OpenAI API pricing, Anthropic pricing and Gemini API pricing pages. Presets are dated and model-specific. Its simple estimate excludes some cache-write, storage, tool/grounding, tax and discount charges; check the official schedule for a complete invoice forecast.

In the one bounded canary described in the request-boundary article, provider-reported cached input was zero for that run. It does not prove caching is unavailable or generally absent.