资讯

ttok 0.4

📅 2026-10-08 ⏱️ 约 1 分钟阅读 ✍️ AI导航编辑部 🔗 simonwillison.net
ttok 0.4
📝 内容摘要

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
  • - Claude Haiku 5.5 - 7th October 2026
  • - OpenAI DevDay 2026 live blog - 29th September 2026

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

来源simonwillison.net· 本文为编辑整理,仅供参考