rtk

rtk-ai/rtk

CLI proxy that reduces LLM token consumption by 60-90%

Why pick itSingle Rust binary, zero dependencies

Install

GitHub
rtk-ai/rtk
Website
rtk-ai.app
Stars
★ 84.5k
License
Apache-2.0
Language
Rust
Last push
Oct 23, 2026
Category
Run locally

Good for

Getting started

  1. Run brew install rtk on macOS/Linux, winget install rtk-ai.rtk on Windows, or use the curl install script
  2. Run rtk gain and confirm it shows the savings dashboard (another project named rtk exists on crates.io)
  3. Run rtk init -g (with a flag such as --codex for other agents) and restart your AI tool

Before you install

The hook only fires on Bash tool calls; built-in tools like Read, Grep and Glob bypass it. Production use is free, but offering RTK to third parties as a commercial product or service needs a separate licence.

Summarized by AI from the project docs; check the official docs before relying on it.

Similar tools

More in Run locally →

Source GitHub · Updated Oct 25, 2026 · All rights belong to the original creators