Rtk
FreeCLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
About Rtk
RTK (Rust Token Killer) is an open-source CLI proxy that compresses command outputs before they reach the context window of AI agents, reducing token consumption by 60-90% on common developer commands. It is implemented as a single Rust binary with zero dependencies, licensed under Apache 2.0. RTK integrates with tools like Claude Code, Cursor, Aider, Gemini CLI, OpenAI Codex, Cline, Windsurf, and GitHub Copilot, extending session length by up to 3x and cutting costs (e.g., a team of 10 saves ~$1,750/month). Benchmarks across 2,900+ real-world commands show 89% average noise reduction, with specific savings of 91.8% for cargo test, 80.8% for git status, 78.3% for find, and 49.5% for grep.
Key Features
Pros & Cons
- Significant token reduction (up to 91.8% for cargo test)
- Free and open source with permissive Apache 2.0 license
- Lightweight single binary, no dependencies needed
- Works with most popular AI coding tools and agents
- Real-world benchmarks demonstrate measurable savings
- Only optimizes CLI command outputs, not general text or code
- Requires installation of Rust binary and configuration
- Lossy compression may omit non-critical output details