Claude Token Counter, now with model comparisons

https://simonwillison.net/2026/Apr/20/claude-token-counts/

Article

  • Simon Willison built a tool to count Claude tokens and compare across models.
  • Discovered Opus 4.7 uses 1.46x more tokens than Opus 4.6 for same input.
  • Tool requires an API key to tokenize, which struck some as odd.
  • Image tokenization costs also highlighted as a concern.

Discussion

  • Commenters suspect Anthropic made the tokenizer more semantically aware, increasing token count.
  • Some see the token inflation as a hidden price hike, reconsidering Claude subscriptions.
  • No official explanation from Anthropic on why the tokenizer changed.
  • Suggestion to downsample images on upload to control costs.

Discuss on HN


Type Link
Added Apr 20, 2026
Modified Apr 20, 2026