# Real Token Cost & TCO Calculator (Snapshot 2026-12-05)

Interactive tool at [https://api.envpick.com/calculator/](https://api.envpick.com/calculator/).

## Normative Monthly TCO Equations
- `Monthly_Input_MTok = (daily_input_tokens * active_days) / 1,000,000`
- `Fresh_Input_MTok = Monthly_Input_MTok * (1 - cache_hit_ratio)`
- `Cached_Input_MTok = Monthly_Input_MTok * cache_hit_ratio`
- `Monthly_Output_MTok = (daily_output_tokens * active_days) / 1,000,000`
- `C_official = Fresh * P_in + Cached * (P_in * m_cache_official) + Output * P_out`
- `C_effective = (Fresh * P_base_in + Cached * (P_base_in * m_cache_gateway) + Output * P_base_out) * (1 + platform_fee_pct / 100)`
- `Cache_Tax_Pct = ((m_cache_gateway / m_cache_official) - 1) * 100`

## Preset Workloads
- **Coding Agents Heavy (Claude Code / Cline)** (`claude-code-heavy`): 2.00M in/day, 75% cache hit, 150K out/day, 22 days/mo.
- **Prompt-Cached RAG & Docs Copilot** (`prompt-cached-rag`): 1.20M in/day, 85% cache hit, 120K out/day, 30 days/mo.
- **Frontier Reasoning & Architecture Audit** (`frontier-reasoning`): 0.40M in/day, 25% cache hit, 180K out/day, 22 days/mo.
- **High-Throughput Multi-Model Routing** (`multi-model-fallback`): 0.80M in/day, 40% cache hit, 200K out/day, 30 days/mo.
