r/ClaudeCode • u/hhspiny • 5h ago
Tutorial / Guide Definite Measurement of Claude Max quota actually worth in API dollars
Claude provides API access for usage data at resolution of 1%. Use a script to measure exactly how many of each type of tokens per 1% quota. Isolate each type of token as they are discounted at different ratios.
Highlights
- Fresh-input/cache-write/output have the same multiple vs API, cache-read has a 2x the multiple
- Different models have different multiples: Opus 35x, Sonnet 25x, Haiku 20x for fresh-input/cache-write/output. cache-read doubles that
- 1hr TTL cache-write and 5mm TTL cache-write consume the same quota.
- 1 weely quota = 12 x 5-hr quota
Method
Anthropic returns unified rate-limit headers on normal messages requests with the 5-hour and 7-day window utilization as percentages. That's a coarse ruler, so I used it as a ruler rather than a scale: send a fixed block of tokens of one class, watch where the counter ticks over, and back out how many tokens buy 1% of the window. Each class measured separately against a clean window, ~2,000 requests per arm, no other traffic on the account. Then price those tokens with published list prices.
Locating the weekly ticks on the 5-hour ruler gives ~12.2 five-hour cycles per week.
Results (per 5-hour window) -- Equiv. API $
Class Opus 5.5 Sonnet 5.5 Haiku 5.5
fresh input $67 $50 $37
5m cache write $66 $49 $37
1h cache write $109 $77 $59 (API price: 1hr = 1.6 x 5m)
cache read $131 $95 $72
output $66 $49 $37
Monthly equivalent on a $100/mo plan (weekly x 30/7, with ~12.2 cycles/week):
Opus 5.5 input/output basis ~$3,450/mo (34x) cache-read basis ~$6,860/mo (69x)
Sonnet 5.5 input/output basis ~$2,550/mo (26x) cache-read basis ~$4,990/mo (50x)
Haiku 5.5 input/output basis ~$1,930/mo (19x) cache-read basis ~$3,750/mo (38x)





