资讯

ttok 0.4

📅 2026-10-08 · AI导航编辑部
8th October 2026 ttok is my CLI tool for counting tokens, using OpenAI's open source tiktoken library. It hasn't been in

8th October 2026

ttok is my CLI tool for counting tokens, using OpenAI's open source tiktoken library.

It hasn't been in updated in a couple of years, but I finally fixed a Click warning, updated CI, and added a --list-models command to list available models.

It works with uvx, so you can count tokens in anything like this:

cat file.txt | uvx ttok

Recent articles

- Claude Haiku 5.5 - 7th October 2026

- We're going to need default hard budget caps on pretty much everything - 3rd October 2026

- OpenAI DevDay 2026 live blog - 29th September 2026

来源:https://simonwillison.net/2026/Oct/8/ttok/