← Back to feed

ttok 1.0

L4 · DeveloperOpen SourceSimon Willison's Blog· 10/9/2026

Essential for developers working with token counting and truncation in LLM applications, particularly relevant for OpenAI model integration.

AI Summary

Simon Willison released ttok 1.0, a CLI tool for counting and truncating text based on tokens, now defaulting to GPT-5/GPT-6 tokenizer instead of GPT-4.

Read Original
0 upvotes · 0 downvotes · 1 min read

Related Articles

L4 · DeveloperOpen SourceHacker News
Port of the TypeScript compiler, checker and lsp to Rust, by LLM

A developer used Claude Opus 5.5 to successfully port the TypeScript compiler, type checker, and LSP to Rust, achieving 100% compatibility in real-world testing for under $25k.

L3 · BuilderOpen SourceHacker News
Show HN: NanoMuse – An open-source AI agent for your phone and computer

NanoMuse is an open-source personal AI agent that runs across devices, performs tasks instead of just answering questions, and works offline with local deployment options.

L4 · DeveloperOpen Source@ClementDelangue
clem 🤗 (@ClementDelangue): We urgently need more public traces of AI agents attacking and defending systems. Defenders can’t learn from what they can’t see. If you have traces and are being pressured to keep them private, my D

Hugging Face CEO calls for more public traces of AI agent attacks/defenses to improve security transparency and help defenders learn from real-world incidents.

L4 · DeveloperOpen SourceHacker News
AI is now capable of developing its own inference hardware

OpenTPU is an open-source AI accelerator developed by AI agents, featuring RTL design, ISA, simulator, compiler and profiler that runs modern models on FPGA hardware.

L4 · DeveloperOpen SourcearXiv
nanoMuse: An Open-Source Personal Agent for Every Device You Own

nanoMuse is an open-source personal agent that runs on devices you own, with shared memory and actions managed by a Sentinel system, providing an alternative to Meta's closed Muse agent.