Methodology & Assumptions
1. Monthly API Cost Formula: Monthly Cost = 30 × Daily Requests × [ (Input Tokens / 1M) × ((1 − Cache%) × StandardInputRate + Cache% × CachedInputRate) + (Output Tokens / 1M) × OutputRate ].
2. Token Estimator Heuristic: Different BPE tokenizers (o200k_base, Claude, SentencePiece) tokenize differently. Our browser-only estimator applies ~1 token per 3.8 Latin/code chars and ~1.45 tokens per CJK character for fast directional budgeting.
3. Tiered & Reasoning Caveats: Models with >200K tiered pricing or hidden reasoning traces (such as o3-mini / DeepSeek-R1) bill reasoning tokens as output tokens. Reference prices are snapshots updated periodically and should be verified against each provider’s live pricing page.