Skip to content
Trending storyDeveloping

Simon Willison releases ttok 0.4 with --list-models command and Click warning fix

1 article1 sourceLast article 4h ago

Overview

AI overview

Simon Willison has released ttok 0.4, a command-line tool for counting tokens built on OpenAI's open source tiktoken library.

According to Willison's announcement, the update adds a --list-models command that lists available models, fixes a Click warning, and updates the project's CI.

The tool can be run through uvx, which Willison demonstrates with the pattern cat file.txt | uvx ttok, letting users count tokens in piped input without a separate installation step.

AIWritten by AI from the articles below · overview updated Oct 8, 9:45 PM ET

Check the sources:

Article timeline

Follow the coverage from different perspectives. Times are ET.

Oct 8
  1. Simon Willison
    ttok 0.4 Adds --list-models Command for Counting Tokens with tiktoken

    Simon Willison has released ttok 0.4, a command-line tool for counting tokens built on OpenAI's open source tiktoken library. The update adds a --list-models command, fixes a Click warning, and updates CI, and the tool can run through uvx, for example with cat file.txt | uvx ttok.

Heat trend

Not enough continuous observations to show a trend yet.