What dominates my AI coding bill?
Input re-billing across turns, typically 90%+ of session tokens. Output is the receipt, input is the bill.
Glossary · AI Coding Token Costs (2026)
Price the input, not the prose.
The short answer
2026 reference pricing: Claude Sonnet-class input ~$2/M tokens, Opus-class ~$5/M; cached input ~10% of fresh. A 200-turn session re-bills its context every turn, so a 50K-window habit costs ~10M tokens per session before output.
The bill equation is per-turn-context × turns, which is why packing (smaller context) beats prompting (cleverer words) by orders of magnitude. Refresh yearly; providers reprice.
AI Coding Token Costs (2026), working
Candidates are ranked and packed into a fixed budget by value per token; the rest stays on disk.
11 of 14 served, 3,310 of 4,096 tokens.
anvaya-mind-rs/crates/mind-services/src/quorum.rs · mind-types/src/config.rsIn Anvaya
Questions
Input re-billing across turns, typically 90%+ of session tokens. Output is the receipt, input is the bill.
Caching discounts price (~90% off stable tokens); memory shrinks quantity, the 12–25x per-node ratio is a design estimate, and the measured end-to-end lever today is −11.0% median uncached (micro-fold, n=5). Stack them.
Per-turn packed context × expected turns ÷ cache-hit share. Measure one week with /cost-style accounting, then project.
23.4 MB median own-process memory, measured across 1030 runs (994 verified) and fourteen harnesses. One command installs the harness and the Mind together. Nothing leaves your machine on the Ollama path.
Developer beta. macOS on Apple Silicon and Linux on x86_64 or arm64. Memory figure: --no-mind, macOS/ARM, n=3 per cell. Pre-1.0, pricing not set.