Hacker GitHub

← All repos

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

Mentions per year 35 mentions · busiest year 2026 (35)
20082026
  1. …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?
  2. …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
  3. …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
  4. …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
  5. 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
  6. …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
  7. Haven't benchmarked it, but for agentic coding e.g. Claude Code I found this useful: https://github.com/rtk-ai/rtk
  8. …EDIT-2: this can also shave off a lot of context need for tool calling -> https://github.com/rtk-ai/rtk
  9. …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
  10. 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…
  11. …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
  12. What about some thing like https://github.com/rtk-ai/rtk
    comment by stacktraceyo · 2026-04-16 · in Claude Opus 4.7
  13. 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
  14. 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
  15. 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
  16. …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
  17. …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
  18. 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
  19. …(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
  20. Here's one: https://www.rtk-ai.app/ ( https://github.com/rtk-ai/rtk )
  21. I've found RTK CLI proxy [1] quite useful for reducing token usage [1]: https://github.com/rtk-ai/rtk/
  22. 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…
  23. …adopting some of these ideas sooner or later. Trim the tokens locally to save on token usage. https://github.com/rtk-ai/rtk
  24. …RTK "Rust Token Killer" does. Removes all the fluff around commands that agents use frequently. https://github.com/rtk-ai/rtk
    comment by bearjaws · 2026-02-25 · in LLM=True
  25. …build this. Rust, MIT licensed. Happy to hear what commands are the worst token offenders for you. https://github.com/rtk-ai/rtk
  26. …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)