Claude Code Costs, Act I — How the billing actually works
An engineer reverse-engineered Claude Code's billing model by pointing the client at a local proxy that logs each API request. The analysis reveals that the client can under-report cache-write costs b…