ToolsThe story, in brief

ttok 0.4

ttok 0.4 drops token counting that actually matches how Claude charges you. Finally.

Paper-cut illustration of a coral software window opening into a three-dimensional drafting space.
New tools for building and creating with AI.AI illustration by KeyNews
The KeyNews take

Why it matters

A maintained open-source token counter for Anthropic's models reaches parity with actual billing logic, removing a friction point for developers integrating Claude into production systems where cost predictability matters.

The key facts

10 to know
  1. ttok 0.4 release by Simon Willison

  2. Open-source token counter for Anthropic Claude models

  3. Targets billing accuracy and cost predictability for developers

  4. Published October 8, 2026

  5. Addresses developer friction in Claude API integration

  6. ttok 0.4 release announcement by Simon Willison

  7. Async token counting support added

  8. Performance improvements for batch token counting

  9. Used by practitioners for OpenAI, Anthropic, and other LLM API billing and context-window calculations

  10. Open-source tool; no pricing model

Go to the source

Simon Willisonsimonwillison.net

Read original report
Back to today's editionMore tools news

Keep reading

Related stories

More from Tools