Story

Show HN: `tc` like `wc` but for LLM tokens

jamiepond Monday, January 12, 2026

Little tool that I made to understand how (un)reasonable my prompts are.

Summary
The article describes a Python script, tokencount, that counts the number of tokens (words, punctuation, etc.) in a text file. It provides options to exclude certain token types and can output the results in a tabular format.
2 0
Summary
github.com
Visit article Read on Hacker News