Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

ttok 0.4 released with a --list-models command

AI summary

Simon Willison released version 0.4 of ttok, his command-line token counting tool built on OpenAI's open source tiktoken library. The update fixes a Click warning, refreshes the CI setup, and adds a --list-models command for listing available models. The tool runs via uvx, so tokens can be counted with a command like cat file.txt | uvx ttok.

In-depth insight

Lightweight token counters remain handy for developers estimating context limits or API costs.

#ttok#tiktoken#OpenAI

Original · 1 min readRead the original
Group chat

No comments yet. Start the conversation.