Claude Token Counter, now with model comparisons
Simon Willison 工具链 入门 Impact: 7/10
Simon Willison's tool reveals that Claude Opus 4.7's new tokenizer inflates token counts by ~46% for text and up to 3x for images compared to its predecessor, leading to higher real-world costs despite unchanged official pricing.
Key Points
- Claude Opus 4.7 is the first model to change its tokenizer
- resulting in significantly higher token counts for identical text.
- Officially stated token inflation is 1.0-1.35x
- but a real-world system prompt test showed 1.46x inflation.
- Image processing token inflation is even more severe
- with a high-res image costing 3.01x more tokens than before.
- Despite unchanged API pricing
- the token inflation means real-world usage costs could increase by over 40%.
Analysis
"The Spark: A Simple Tool Reveals the Hidden Cost of Model Upgrades
Analysis generated by BitByAI · Read original English article