RTK (Rust Token Killer)
www.rtk-ai.app
Open-source Rust CLI proxy that compresses command output before your AI coding agent reads it, cutting token use by up to 90%.
- GitHub stars
- 87,502
- License
- Apache-2.0
- Language
- Rust
- Pricing
- Open source
- Published
- Nov 14, 2026
Next steps
- Claude Squad
Both tools are listed under AI Code Assistant, AI Developer Tools, and claude-code.
- Lody
Both tools are listed under AI Code Assistant, AI Developer Tools, claude-code, and coding-agents.
- Octomind
Both tools are listed under AI Code Assistant, Open Source, and rust.
- opencodex
- CodeGraph
- Agent Skills (Addy Osmani)
What it does
RTK sits between an AI coding agent and the shell. When the agent runs git status, tests, diffs, builds or logs, RTK returns a compressed summary instead of the full output, covering 100+ commands in under 25 ms each with no configuration. rtk gain shows the savings on your machine, and pipelines let you hand heavy reads to a cheaper model. It is a single Rust binary under Apache 2.0 and installs via Homebrew, winget or a script; RTK Pro adds a paid company-wide gateway.

Use cases
- Cut the command output a coding agent reads (git, tests, builds, logs) to lower token costs
- See how many tokens were saved per day or per project with rtk gain
- Route heavy reads to a cheaper model with shareable pipelines
Frequently asked questions
- What is RTK?
- RTK is an open-source CLI proxy written in Rust that compresses the output of common developer commands before an AI coding agent reads it, so the agent consumes fewer tokens.
- How much does it save?
- The project says up to 90% less command output across 100+ supported commands, at under 25 ms per command. Savings depend on the commands you run.
- How do I install it?
- With Homebrew (brew install rtk), winget on Windows, or the install script; then run rtk init -g to hook it into Claude Code. Other agents are covered in the docs.
- Is it free?
- Yes, RTK is Apache-2.0 open source. RTK Pro is a separate paid control layer for teams.