Input spend is request volume multiplied by input tokens, retry overhead, and the effective input price. The effective price applies the stated cache discount only to the cached share.
Output spend uses output tokens and the separate generated-token price. Other usage repeats with retries because retrieval, search, gateways, or tools may run again.
Retry spend is the difference between the same workload with and without retry overhead. Cache savings compares the effective cached input price with the uncached input price.
This is a planning estimate, not a provider quote. It excludes taxes, committed-use discounts, tiered pricing, batch discounts, storage, fine-tuning, and provider-specific billing rules unless you represent them in the input prices or other per-request cost.