SuperCompress

RTK alternative · Updated 2026-08-20

SuperCompress vs RTK (Rust Token Killer)

Searching for an RTK alternative? RTK is a Rust CLI that intercepts shell command output and filters it before the agent reads it. SuperCompress compresses any context against the current query — Read/Grep dumps, RAG, chat, JSON, and shell — via MCP/API, with published answer-keep gates.

Verdict: Use SuperCompress when you care about the whole context window and whether the answer survives. Use RTK when you only want transparent bash/stdout filters. They can stack; neither is a guaranteed 90% bill cut on its own.

Different jobs

This is the comparison people get wrong:

Claude Code built-ins like Read / Grep often bypass RTK hooks. Those dumps are exactly where SuperCompress helps.

Side-by-side

FactorRTKSuperCompress
Primary targetShell / bash tool stdoutAny context + query
MechanismCommand filters, grouping, truncate, dedupeQuery-aware evidence selection
Query-aware?No (command-structure aware)Yes — scores against the question
Read / Grep / RAG dumpsUsually out of scopeFirst-class
InstallRust binary + agent hooksnpx supercompress setup / pip / API
Answer-keep gatesStdout fidelity focusHeld-out ≥98% answer containment (primary suites)
Bill impactOnly the bash slice of input tokensAny oversized context you send through it
Best default forNoisy test/git/log spamAgents + APIs that drown in mixed context

Why “60–90%” is not the same as your invoice

RTK’s own docs note that bash is only one contributor to input tokens, and input is only part of the bill. Independent skill trials have reported flat or higher session cost even when the tool’s scoreboard looked great — because of retries, cache reads, and the fraction of traffic the hook never sees.

Rule: measure paired session cost with and without the tool. Do not ship marketing that confuses “bytes of git status” with “dollars on the provider invoice.”

When RTK still wins

When SuperCompress wins

Stacking (optional)

RTK can clean stdout; SuperCompress can still compress the remaining transcript against the query. Treat them as layers — not rivals for the same metric.

Get started

npm i -g supercompress-proxy && npx supercompress setup
# or
pip install supercompress

Coding agents: docs.supercompress.dev/coding-agents · Benchmarks: /benchmarks