CLI proxy between your terminal and AI coding agent. Compresses command output (cargo test: 155→3 lines), cleans context for better reasoning. Average savings: 89% across 7,000+ commands. Works with Claude Code, Cursor, Gemini CLI, Aider, Codex, Windsurf, Cline. Single Rust binary. Zero deps. 1,000+ GitHub stars in a month. MIT license.
No reviews yetBe the first to leave a review for RTK — Rust Token Killer
Maker
📌
Hey Product Hunt! 👋
I'm Patrick, the maker of RTK.
Early 2026, I was burning through my Claude Code quota in hours. Not complex prompts — just normal coding. I investigated and found that up to 89% of tokens my AI agent consumed were noise: progress bars, passing tests, verbose formatting.
So I built RTK — a single Rust binary that sits between your terminal and your AI agent.
It does 2 things:
→ Compresses CLI output (cargo test: 155 lines → 3 lines)
→ Cleans context so the AI reasons on signal, not noise
My real numbers after 3 weeks:
- 7,000+ commands processed
- 29M tokens in → 4.8M out
- 83.7% average savings
Install in seconds:
macOS: brew install rtk-ai/tap/rtk
Linux: curl -fsSL https://raw.githubusercontent.co... | sh
Then check your savings: rtk gain
What AI coding tool do you use? I'd love to hear what commands waste the most tokens for you 👇
🔗 https://github.com/rtk-ai/rtk
Gooo RTK !