chatde/tokenshrink

Same AI, fewer tokens. Free forever. — tokenshrink.com

35
/ 100
Emerging

Performs multi-phase text compression (phrase removal, word abbreviation, pattern detection) verified against the cl100k_base tokenizer to guarantee real token savings—no LLM calls or latency. Includes a "Rosetta Stone" decoder header so compressed prompts remain understandable to any model, with domain-specific strategies (code, medical, legal, business) and pluggable tokenizer support for exact counts across different LLMs.

Available on npm.

No Dependents
Maintenance 13 / 25
Adoption 4 / 25
Maturity 18 / 25
Community 0 / 25

How are scores calculated?

Stars

7

Forks

Language

JavaScript

License

MIT

Last pushed

Mar 10, 2026

Commits (30d)

0

Get this data via API

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

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