rtk-ai/rtk
View on GitHub ↗ ★ 85,281 Rust
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
35 mentions on Hacker News by 30 people: 9 stories, 26 comments · first 2026-02-09 · latest 2026-08-14
20082026
-
…this. Just in the last few days I've installed - https://www.codewithbullet.com - https://maki.sh - https://github.com/rtk-ai/rtk Has it helped? Somewhat.
comment by postatic · 2026-08-14 · in Why does Opus 5 feel worse to work with? -
…forever? I don't think so. Very soon models will become so better this will be a non-problem [0] https://github.com/rtk-ai/rtk
comment by nextaccountic · 2026-06-23 · in Show HN: Oak – Git alternative designed for agents -
…Opus costs for 6 months old Sonnet performance. [1]: https://github.com/JuliusBrussee/caveman [2]: https://github.com/rtk-ai/rtk [3]: https://github.com/DietrichGebert/ponytail
comment by Zababa · 2026-06-19 · in The Token Compression Illusion: Why I'm Skeptical of RTK -
…through the issues as investigation. Some issues that caught my attention are looking quite bad https://github.com/rtk-ai/rtk/issues/2494 https://github.com/rtk-ai/rtk/issues/2462 https://github.com/rtk-ai/rtk/issues/2395
comment by lackoftactics · 2026-06-18 · in The Token Compression Illusion: Why I'm Skeptical of RTK -
I might have picked better title, but they are literally called rtk https://github.com/rtk-ai/rtk and it stands for Rust Token Killer
comment by lackoftactics · 2026-06-18 · in The Token Compression Illusion: Why I'm Skeptical of RTK -
…seem to run okay with longer running contexts. Also, some colleagues were playing around with RTK ( https://github.com/rtk-ai/rtk ), which decreases the amount of token used by tool calls and, although it seems an interesting idea, I am…
comment by brunoluiz · 2026-06-14 · in Don't trust large context windows -
Haven't benchmarked it, but for agentic coding e.g. Claude Code I found this useful: https://github.com/rtk-ai/rtk
comment by mhrmsn · 2026-06-09 · in Ask HN: What works for cutting AI token costs? -
…EDIT-2: this can also shave off a lot of context need for tool calling -> https://github.com/rtk-ai/rtk
comment by pferdone · 2026-05-07 · in ZAYA1-8B matches DeepSeek-R1 on math with less than 1B active parameters -
…Similar tools in this space: RTK:CLI proxy that reduces LLM token consumption: https://github.com/rtk-ai/rtk 8v: One CLI for you and your AI agent. Posted here a few days ago: https://news.ycombinator.com/item?id=47914963 Headroom:The Co
comment by esperent · 2026-05-03 · in Context Mode v1.0.0 -
Similar tools in the space: RTK which I guess is a close equivalent. https://github.com/rtk-ai/rtk Headroom which is complementary. https://github.com/chopratejas/headroom I have tried both of these and I have to say, I didn't notice any…
comment by esperent · 2026-04-27 · in 8v: One CLI for you and your AI agent. Up to 66% fewer tokens -
…I realized that this is a paid product, after all of the above has happened. Headroom seems to use https://github.com/rtk-ai/rtk under the hood. What does Headroom offer over the actually-free RTK? Who knows. At this point I have had it…
comment by SnowLprd · 2026-04-17 · in Claude Opus 4.7 -
What about some thing like https://github.com/rtk-ai/rtk
comment by stacktraceyo · 2026-04-16 · in Claude Opus 4.7 -
To reduce token count on command outputs you can also use RTK [0] [0]: https://github.com/rtk-ai/rtk
comment by fzaninotto · 2026-04-16 · in Claude Opus 4.7 -
Also https://github.com/rtk-ai/rtk but some people see that changing how commands output stuff can confuse some models
comment by alex7o · 2026-04-16 · in Claude Opus 4.7 -
I find grep and common cli command spam to be the primary issue. I enjoy Rust Token Killer https://github.com/rtk-ai/rtk , and agents know how to get around it when it truncates too hard.
comment by nickspag · 2026-04-16 · in Claude Opus 4.7 -
…prompts in within your same plan? Some great ones are https://github.com/gglucass/headroom-desktop https://github.com/rtk-ai/rtk https://github.com/chopratejas/headroom https://github.com/samuelfaj/distill
comment by gghootch · 2026-04-08 · in Sonnet 4.6 Elevated Rate of Errors -
…in recent days. There are solutions to reduce input tokens, for example this GitHub project https://github.com/rtk-ai/rtk . It uses hooks to replace certain commands with optimized ones and helps reduce the number of input tokens. It’s a…
comment by valentinconan · 2026-03-31 · in Ask HN: Gemini CLI vs. Claude Code -
Faced this too. Tried https://github.com/rtk-ai/rtk to compress cli output but some commands started failing and the savings were minimal. Ended up just being more deliberate about context size instead of adding more tooling on top
comment by sibtain1997 · 2026-03-31 · in Claude Code users hitting usage limits 'way faster than expected' -
…(git, npm, build logs) by 60-90% before it hits the context window. > Stacks on top of Headroom. https://github.com/rtk-ai/rtk > MemStack - gives Claude Code persistent memory and project context so it doesn't waste tokens re-reading your…
comment by sillysaurusx · 2026-03-31 · in Universal Claude.md – cut Claude output tokens -
Here's one: https://www.rtk-ai.app/ ( https://github.com/rtk-ai/rtk )
comment by redmattred · 2026-03-18 · in Get Shit Done: A meta-prompting, context engineering and spec-driven dev system -
I've found RTK CLI proxy [1] quite useful for reducing token usage [1]: https://github.com/rtk-ai/rtk/
comment by primaprashant · 2026-03-13 · in Prompt-caching – auto-injects Anthropic cache breakpoints (90% token savings) -
I've been running https://github.com/rtk-ai/rtk for a week seems to be a good balance between culling out of context and not just killing everything. I've been running https://github.com/Opencode-DCP/opencode-dynamic-context-pru... in…
comment by WesBrownSQL · 2026-03-01 · in MCP server that reduces Claude Code context consumption by 98% -
…adopting some of these ideas sooner or later. Trim the tokens locally to save on token usage. https://github.com/rtk-ai/rtk
comment by giancarlostoro · 2026-02-28 · in MCP server that reduces Claude Code context consumption by 98% -
…build this. Rust, MIT licensed. Happy to hear what commands are the worst token offenders for you. https://github.com/rtk-ai/rtk
comment by patrick4urcloud · 2026-02-11 · in Show HN: RTK – Wrap your CLI commands, save 60-90% of tokens in AI coding agents -
…so the same logic can apply across different environments without rewriting everything. rtk ( https://github.com/rtk-ai/rtk ) This is a "scratching my own itch" project born from using Claude-code. While vibe coding, I got frustrated…
comment by patrick4urcloud · 2026-02-09 · in Ask HN: What are you working on? (February 2026)