Live data from Hacker News

Show HN: Lowfat – pluggable CLI filter that saved 91.8% of my LLM tokens

github.com

61–70 of 97 posts

Re: Show HN: Lowfat – pluggable CLI filter that saved 91.8% of my LLM tokens

#61

Tools that remove the fat seem like a good idea, but I’m highly suspicious of their effect on the LLM’s reasoning. LLMs were trained in the typical full-fat output found everywhere on the internet, and all of sudden they get a slightly different response that may look like nothing they have seen before. Does that really save tokens in the long run?

I have just been using it for 2 months, so... lmao. might need a year and with more users to test out how it will go.

Re: Show HN: Lowfat – pluggable CLI filter that saved 91.8% of my LLM tokens

#63
post #40

Earlier quoted context omitted.

Can you elaborate more on why would it so ?

Because it could discard things the agent needs.

You can control what you want to feed to the agent. Keep what it needs, discard what it doesn't.

Re: Show HN: Lowfat – pluggable CLI filter that saved 91.8% of my LLM tokens

#64
post #5

I would like to have deeper comparison with alternatives like rtk, which are already fast and written in rust, also the previous comments mentioned something that has been a know problem with rtk that it sometimes strips the thing that the llm needs (or expects, causing more work to need to happan not less)

None of these tools measure how effective they are... It's a massive red flag to me when you could get decent data to see if your thing actually works, and they don't even attempt to... Have the LLM use your tool, run it on several of the coding benchmarks. If you're stingy, run it on the ones that don't cost much. Otherwise, I'm going to assume it doesn't actually work. If it did - Claude, Antigravity, Codex, Pi, or…

So often we will burn 20% of limit in a single ill conceived agent tool call that we're simply not going to be able to or want to be able to intercept. Where I see a tool like this being a real step forward is to add a decision point. it does not have to bubble up to hard-require user to provide permission, but it can let the LLM have an intermediate checkpoint to say that it's about to get blasted with 30k tokens and here is roughly the shape of it and do you wanna adjust or whittle it down if you know what you're looking for etc.?

There is definitely tons of value to extract from this line of thinking.

Re: Show HN: Lowfat – pluggable CLI filter that saved 91.8% of my LLM tokens

#65

I have my own llm wrapping harness, which does this and has a few more tricks. For example, it doesn’t have a lot of mcp but it does have search_mcp and load_mcp tools (and search_skills) so the llm can find what it needs when it needs it without bloating the normal baseline context. The LLMs have proved really good at using them. There is also a waypoint tool they can use to record their thinking in the context with…

great approach. I did that with my opencode based setup as well, it's neat and fun to tune skills and mcp loaders and stuff. Then i got fed up with opencode's design limitations. And then, my own harness work is on hold in favor of a harness-puppeteer paradigm, but that one has also been on hold! I'm mostly currently pulling on the thread of making it easier just to review the voluminous conversation turns!

Re: Show HN: Lowfat – pluggable CLI filter that saved 91.8% of my LLM tokens

#67
post #55

Earlier quoted context omitted.

None of these tools measure how effective they are... It's a massive red flag to me when you could get decent data to see if your thing actually works, and they don't even attempt to... Have the LLM use your tool, run it on several of the coding benchmarks. If you're stingy, run it on the ones that don't cost much. Otherwise, I'm going to assume it doesn't actually work. If it did - Claude, Antigravity, Codex, Pi, or…

> otherwise, popular solutions would integrate the idea None of the major players are incentivized to care about this, especially not over other opportunities. Why would you expect them to integrate it? One of the biggest wins you can institute for your own codebase if you use agents is writing your own harness, by a huge margin. The defaults are fine, but you can do better.

[deleted]

Re: Show HN: Lowfat – pluggable CLI filter that saved 91.8% of my LLM tokens

#69

Earlier quoted context omitted.

I have a suspicion that the model would miss more context unless you are very precise about what FAT means in each context. However, loved the idea.

Understood. Let me give some examples, most of the time we don't need spaces between table output, git diff produce bunch of unnessary info we just need filename and actual diff lines, kubectl describe we would mostly check for events, image etc etc. This is the reason why I make it as composable filters as it very depends on your specific ops to optimize the token.

Yes, it also depends on how a model harness uses a tool.

Harness: I'm about to commit. Good use case Harness: What has changed from X to Y. Bad use case NO?

Re: Show HN: Lowfat – pluggable CLI filter that saved 91.8% of my LLM tokens

#70
post #53
post #52

Earlier quoted context omitted.

This is the reason, when I built a tool in the same space, I chose to benchmark with cost per correct answer. Reducing tokens and also turns is quite worthless if the LLM doesn’t solve what you put it to do.

Did you benchmark the competition and can we see?

No I don't have the funds to benchmark the competition, but would be happy to put the numbers up if any token whales feel like having a go.

https://github.com/jahala/tilth/tree/main/benchmark

Post reply on HN