Repository

bleugreen/unigram

Unigram

A bijective codec between bytes and words that cost exactly one LLM token

2stars

Open github.com

bleugreen/unigram

Unigram

A bijective codec between bytes and words that cost exactly one LLM token, enabling readable identifiers with predictable token costs for LLM prompts.

Visit project

Show me a random project

First shared
Aug 18, 2026
HN activity
20

Show HN@bleugreenlabAug 18, 2026

Show HN: Unigram: encode bytes as words that cost one LLM token

No comments are available here yet.
View on Hacker News