ttok 0.4
Simon Willison released ttok 0.4, a CLI token counter built on OpenAI's tiktoken library.
Simon Willison released ttok 0.4, a command-line tool that counts tokens using OpenAI's open-source tiktoken library. The update, the first in about two years, fixes a Click warning, refreshes continuous integration, and adds a --list-models command. ttok can be run with uvx, for example by piping a file into uvx ttok.
22