r/coolgithubprojects • u/Otherwise_Snow_5616 • 2d ago
Claude Code reaches the same answers with 86% fewer tokens (free, open source)
31
Upvotes
r/coolgithubprojects • u/Otherwise_Snow_5616 • 2d ago
8
u/seiggy 2d ago
Fewer tokens doesn't mean anything without benchmarks to show it doesn't harm output, task completion, and intelligence.
I'd recommend using a benchmark like - https://www.scbench.ai/ that's difficult and shows real world problem sets with not just tokens burned, but turns, and task completion evaluation results.
3
u/Otherwise_Snow_5616 2d ago
My text didn't come through with the picture, so here it is:
Claude re-reads your whole chat before every reply. It's like re-reading the whole book to write the next sentence. Long chats and big test logs get paid for again and again.
I built Fewer to keep the book short:
- it makes long outputs short, and saves every page word for word, so Claude can still find any detail
- it reads ahead the files your message asks about
- after /clear, the new chat picks up where you left off
The picture is Fewer's map of where my own Claude Code tokens went in the last 30 days.
I tested it on 9 coding and web tasks, 12 runs each with and without Fewer, on GitHub's clean machines: 86% fewer tokens, and every answer right both ways. The benchmark is in the repo, so you can rerun it yourself.
Works on Mac, Linux and Windows. Free, Apache 2.0. If you use Claude Code a lot, try it and tell me what you see, especially if it doesn't help.
https://github.com/hazemdawahi/fewer
3
u/exclusivegreen 2d ago
Did you forget to post a link?
2
u/redneck-eyeball 2d ago
But you need Claude code for this. What about the free tier desktop app. Because that's all I have.
And yes, obviously I run out of tokens and need to wait for another 5 hours to continue what I'm working on.
No free version of Claude code as far as I'm aware.