nooscraft/tokuin

CLI tool – estimates LLM tokens/costs and runs provider-aware load tests for OpenAI, Anthropic, OpenRouter, or custom endpoints.

38
/ 100
Emerging

Built in Rust, it features prompt compression using the Hieratic format—a structured, token-optimized representation achieving 70–90% reduction while remaining natively readable by LLMs. Beyond cost estimation, it provides quality metrics (semantic similarity, instruction preservation, structural integrity) with configurable scoring modes, and supports structured compression for JSON/code/HTML documents plus incremental processing for multi-turn conversations.

128 stars.

No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 13 / 25
Community 5 / 25

How are scores calculated?

Stars

128

Forks

3

Language

Rust

License

Last pushed

Feb 20, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/nooscraft/tokuin"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.