RC RANDOM CHAOS

ttok 0.4 Updates Token Counting CLI Tool

· via Simon Willison

Original source

ttok 0.4

Simon Willison →

The ttok command-line tool for counting tokens using OpenAI’s tiktoken library has been updated. The 0.4 release fixes a Click warning, updates CI, and adds a —list-models command. The tool works with uvx, allowing users to count tokens in files or text streams. This update comes after a couple of years without changes.

Read the full article

Continue reading at Simon Willison →

This is an AI-generated summary. Read the original for the full story.