2026 Prompt Cache Pricing · API vs Pro ($20) vs Max ($100/$200) · 100% Offline .jsonl Log Drag-and-Drop

Claude Code Cost Calculator & Offline .jsonl Session Analyzer

Wondering "how much does Claude Code cost?" or whether you should switch from Anthropic API billing to Claude Pro ($20) or Claude Max ($100 / $200)? Adjust the prompt-cache workload sliders below—or drop your local ~/.claude/projects/**/*.jsonl logs directly into your browser (zero curl | python3 scripts required).

1. Interactive Prompt-Cache Workload Simulator 2026 Cache Rates

22 days/mo
80 turns/day
45K tokens
4K tokens
1,500 tokens
3,500 tokens

2. Monthly Cost Breakdown & Plan Verdict API vs Subscription

Est. Monthly API Bill
$92.18
$4.19/day across 1,760 turns/mo
Best Subscription Fit
Claude Pro ($20) + Free Fallback
Saves ~$72/mo vs raw API billing
CLAUDE.md + MCP Bloat Tax
$4.92/mo

3. 100% Offline ~/.claude/projects/**/*.jsonl Log Analyzer

Never run untrusted curl | python3 scripts to check your Claude spend. Drop one or more .jsonl files from ~/.claude/projects/ below—our parser extracts message.usage.input_tokens, output_tokens (5x input rate), cache_creation_input_tokens (1.25x 5m / 2.0x 1h TTL), and cache_read_input_tokens (0.1x / 90% discount) locally via browser FileReader:

📊 Drop ~/.claude/projects/<repo>/*.jsonl files here
Select single or multiple .jsonl transcripts — 0 bytes leave your machine
2026 Claude Model / Plan Input & Output Rate (per 1M Tokens) Prompt Cache Write (5m) & Cache Read Best Cost-Control Strategy
Claude Sonnet 5.5 / 4.6 (API)
$3.00 Input · $15.00 Output
$3.75 Write (5m) · $0.30 Read (90% off)
Keep CLAUDE.md static at top of prompt so 90% of turns hit the $0.30/MTok cache read tier
Claude Opus 5.5 / 4.6 (API)
$5.00 Input · $25.00 Output
$6.25 Write (5m) · $0.50 Read
Reserve for complex architectural planning; switch back to Sonnet or Haiku for test loops
Claude Haiku 5.5 / 4.5 (API)
$1.00 Input · $5.00 Output
$1.25 Write (5m) · $0.10 Read
Ideal for fast file search subagents and lightweight linting turns
Claude Pro ($20) vs Max ($100 / $200)
Fixed Monthly Subscription
5-Hour Rolling Session Quota (5x / 20x on Max)
Pair Pro ($20) with our $0 OpenRouter / LiteLLM Fallback when your 5-hour quota locks out

3 Proven Ways to Cut Your Claude Code API Bill by 50%+

  • 1. Shrink Your CLAUDE.md & Idle MCP Servers: Every active MCP server injects 500–2,000 tokens of JSON tool schemas into every turn. Audit your config with our CLAUDE.md Auditor and move occasional workflows into on-demand SKILL.md files.
  • 2. Use /clear Between Unrelated Tasks: Continuing a 120K-token conversation when starting a brand-new feature forces Claude Code to re-read the entire history on every tool call.
  • 3. Add a $0 Free API Fallback Profile: Configure a second terminal profile with our Claude Code Free API Generator (OpenRouter :free or Google AI Studio via LiteLLM) for routine boilerplate and test fixes.

🚀 Low-Cost Pay-As-You-Go & Self-Hosted GPU Alternatives

If Anthropic API costs are scaling past $150/month on automated CI or multi-file refactors, offload routine coding turns to low-cost OpenAI/Anthropic-compatible endpoints:

Disclosure: The Novita AI and RunPod links above are referral/affiliate links that support FindAITier at no extra cost to you.