Claude Token Counter, now with model comparisons
Summary
Claude Opus 4.7 introduced an updated tokenizer (a system that breaks text into smaller units for processing) that changes how text is converted into tokens, causing the same input to require 1.0–1.35× more tokens depending on content type. While Opus 4.7 maintains the same pricing as Opus 4.6 ($5 per million input tokens and $25 per million output tokens), this token inflation means users can expect roughly 40% higher costs, though the impact varies by content type (minimal for PDFs at 1.08×, identical for lower-resolution images, but 3× higher for high-resolution images).
Classification
Affected Vendors
Related Issues
Original source: https://simonwillison.net/2026/Apr/20/claude-token-counts/#atom-everything
First tracked: April 20, 2026 at 02:00 AM
Classified by LLM (prompt v3) · confidence: 95%