OSS
rtk-ai/rtk: Rust CLI Proxy Cuts LLM Token Consumption 60-90% — Viral '10M Tokens Saved in 2 Weeks' Post Spreading Across Coding Agent Communities
RTK (Rust Token Killer) is a single zero-dependency binary that intercepts command outputs before they hit Claude Code, Cursor, or any other coding agent context—compressing cargo test from 155 lines to 3, git status from 119 chars to 28, yielding 89% savings empirically. A viral post in KiloCode and CLIProxyAPI repo discussions reports saving 10M tokens over two weeks by adding a Claude Code hook that transparently rewrites commands to rtk-prefixed equivalents. The tool supports 30+ commands out of the box; a known open issue notes compressed output can increase downstream generation tokens by ~18% in some workflows, creating a nuanced tradeoff builders need to evaluate.
Source
↳ Follow the thread