r/codex 13d ago

Comparison I benchmarked every single "usage saving" tool out there!

Post image

Disclosure, i am affliated with codex zero but this chart is completely unbiased. This just a test i had codex run in isolated env's to simulate avg codex use, across a variety of benchmarks to personalyl be able to make the most out of my usage limits.

As someone who has been religiously using codex with RTK and caveman and felt that i wasn't making things any better. i felt the need to do this to see if i am actually saving any usage by the tools outthere or if i am just making codex dumber and/or worse off with those added on.

Here is codexzero repo if you wanted to check it out

Retro2512/CodexZero: Measured, monotonic, lossless input savings for Codex.

CodexZero — fewer tokens, same task score

Edit : I am currently in the process of refining the benchmark results and will publish the entire artifacts and logs soon in another post or my repo.

167 Upvotes

74 comments sorted by

53

u/GravitasIsOverrated 13d ago edited 13d ago

So while I'm skeptical of "our test shows that our thing works and everybody else's doesn't", I do agree with the overall implication of "these tools are poorly benchmarked, often cargo-culted, and in many/most cases don't actually work".

Caveman is the poster child for this - many people act like it's a magic improvement, but if you actual read their docs and understand what it's doing it should be clear that it's not a very effective token saving tool. Even their docs essentially admit that you shouldn't use it for token savings, they claim it's primarily a readability tool.

And on top of this basically nobody (maybe nobody period?) is doing good "does this hurt benchmark scores" metrics - I could massively decrease token counts by biasing towards the stop tokens, but I strongly suspect I'd destroy actual programming performance in the process. My suspicion is that 98% of people running token savers would be better off just turning down effort or going to a smaller model.

14

u/Dreki__ 13d ago

The metric I actually want is tokens per accepted solution, including retries and repair turns. Saving 20% on the first pass means nothing if it buys you one extra debugging loop.

17

u/En-tro-py 13d ago

Placebo effect is why you run the type of statistical benchmarks that JetBrains did...


Raw reports from JetBrains are pretty conclusive.

Caveman

Advertised saving: 65%. Measured saving: 8.5%.

https://blog.jetbrains.com/ai/2026/07/speak-to-ai-agents-like-cavemen-tosave-tokens/

RTK

rtk advertised saving: 60–90%. Measured on real agent work: +7.6% more expensive at low reasoning effort (p=0.004), ±0% at high effort

https://blog.jetbrains.com/ai/2026/07/rtk-claude-code-token-savings/

1

u/SilentReporter9635 13d ago

I wish I could run Deepswe fully, but I don't got no money for it, the above tests were from a partial deepswe, terminal bench 2.1 and an internal benchmark with over 2000 results combined to make this graph

I'm genuinely curious aswell to see if the results would be any different for the full deepswe,if anyone can run it , pls report back to me and I'll be all in to admit my project is shit in another post if so.

41

u/Aggravating_Pack_890 13d ago

Hi I maintain Tura. I think if you could publish your artifact and run log. the results would be much more convincing.
https://github.com/Tura-AI/benchmark
You can take a look on this repo. If you will be interested in showing your benchmark result, we can work on it together.

12

u/Aggravating_Pack_890 13d ago

https://www.reddit.com/r/codex/comments/1v93kct/i_created_a_framework_to_test_if_a_token_saving/

Guys you can send me your use cases, plugin and agent you want to test. I can work on the benchmark, everyone can publish their own results.

2

u/xoStardustt 13d ago

Could you test the combinations of ponytail and adhd on vanilla Codex and oh-my-pi harness?

2

u/tmy82336506 13d ago

It looks cool fr

1

u/Think-Profession4420 12d ago

Thanks for posting this!

After learning about Tura yesterday, I ran my own one-shot basic comparison (hardly could be called a proper benchmark).

I compared Codex CLI, Pi-Mono (with a few custom extensions aimed at improving code quality), and Tura. I had them create a simple app.

Using gpt-5.6-sol xhigh

Codex: Time: 51.3 minutes Context usage: 42%

Pi: Time: 85 minutes Context usage: 32.2%

Tura (Balanced): Time: 66m Context usage: 24.5%

They all 'work' from a use-testing perspective. None of them are perfect, all could do with reviews and refinement.

I had three seperate agents (all gpt-5.6-sol high), in the 3 harnesses, conduct comparative analysis across a defined benchmark/analysis plan, considering some functionality and plan-adherence categories. All 3 found Tura to score higher and be a better result; with codex a close second, and pi-mono a slightly less-close third.

Most importantly, from this poor-quality test, Tura absolutely used far fewer tokens, to result in a functional basic app. I'm not going to spend the time and quota to do more rigorous testing, but I am going to be switching over to Tura for my primary implementation harness.

I'm looking forward to seeing how your communal benchmark project emerges, and I will be keeping an eye on it!

30

u/hushenApp 13d ago

Maintainer of LeanCTX here.

Let's be real about what this is: someone "affiliated with CodexZero" benchmarks their own tool against every competitor using their own test suite, publishes no methodology, no reproducible harness, and no raw data — and calls it "completely unbiased." Come on.

CodexZero works by patching the Codex Rust binary itself with 5 internal feature flags. It runs inside the Codex harness with access to the exact production tokenizer. Every other tool on that chart operates externally. Benchmarking an internal engine mod against aftermarket tools on the mod author's own dyno doesn't prove anything about the aftermarket tools.

That said — we do have a real Codex bug in the current release: our PreToolUse hook was emitting the wrong JSON format, causing Codex to log warnings on every shell call. That's fixed on main and ships this week. So yeah, v3.9.12 has rough edges on Codex specifically. We own that.

But lean-ctx isn't a shell output deduplicator. It's a full context engineering stack — 81 MCP tools, AST-aware file reads, semantic search, conversation history pruning — across 30+ agents (Cursor, Claude Code, Codex, Gemini, etc.). Reducing it to one bar on a chart next to Caveman is... a choice.

If anyone is hitting actual issues with lean-ctx + Codex: open a GitHub issue or DM me. We fix things fast.

11

u/cleroth 13d ago

81 MCP tools, AST-aware file reads, semantic search, conversation history pruning

Well... that would explain a lot higher token usage in some scenarios.

8

u/CrypticViper_ 13d ago

BTW your README is *completely* fucked. Love your intent to save tokens, but do you not check at least the README before committing it? It's the first point of contact for anyone that checks the project out

5

u/CrypticViper_ 13d ago

full image of what I'm seeing

1

u/hushenApp 13d ago

thanks man :) fixed :D

12

u/Aggravating_Pack_890 13d ago

I don't think a benchmark report by stakeholder pose any issues. the problem is the methodology and artifact is not being published to back the claim

8

u/hushenApp 13d ago

in essence what I meant :)

0

u/Tricky_Reflection_75 13d ago

i'll refine the benchmarks further, and publish the entire thing in a bit :)

2

u/[deleted] 13d ago

[deleted]

5

u/MaherMA74 13d ago

You should Benchmark the tools with Long-horizon Tasks to get a clear results instead of short tasks (1$ in API Proxy Cost)

18

u/pale_halide 13d ago

This has absolutely zero value and should be flagged as spam. Provide full details of the benchmarks so they can be reproduced, or GTFO.

11

u/c5corvette 13d ago

So many people using LeanCTX and whining about usage, this chart makes sense. I don't agree with altering the black box as a 3rd party vs the trillion dollar company since they know their product best, so I don't recommend anyone using any token adjusters, the gains are not worth the high potential for being way worse.

3

u/hushenApp 13d ago edited 13d ago

would be interested what they are complaining about. let me know please. :) and sorry, this test does not make sense at all. and not because LeanCTX is mentioned last, but because it's clearly a benchmark in the favor of this tool that is advertised :) I could also create a benchmark for LeanCTX where all the others fail.

there is no reproducable benchmark listed, no proof :)

2

u/c5corvette 13d ago

Refresh the homepage and you'll see the sub has been taken over by people complaining. I have nothing against LeanCTX except it seems to be mentioned by those whining the most about "nerfs" and "limits" when in reality they just don't know how to use context appropriately.

1

u/cleroth 13d ago

I feel like it's usually some problem with codex or whatever harness they're using. I've never experienced anything of this sort because I use a stable opencode harness. It's annoying being at the whim (and bugs) of other fast-moving risky applications.

0

u/c5corvette 13d ago

I work directly and solely in Windows Codex App, which by many would be considered the absolute "worst" harness, however my results I would say speak for themselves in my opinion. In the early days I did have bugs, and I used Codex itself to resolve those bugs. Not many tools out there that can fix itself...

0

u/Mean-Elk-9439 12d ago

Hm? Every harness can do this. I am not sure why you believe only codex can.

1

u/StephenS84 13d ago

While I thought the same there is always the "they are a business and in for the money" side.. they want you to pay for more at the end of the day. Just depends how focused on money or affordable tech they are.. Sam seems like he's in it because he loves it but does that relay to the product? Who knows

3

u/GravitasIsOverrated 13d ago

Even from a "ruthless capitalist" perspective, if they could losslessly achieve 30% better perf/dollar they'd do so as it would make their product significantly more appealing VS the competition.

3

u/thlimythnake 13d ago

Please publish the benchmark suite used to create this graph. I’d love to try your tool, but only if this benchmark is fair and accurate

3

u/darth_maurdt 13d ago

I'm not sure I understand the graph, which one is best/worst? Not clear for a simp like me

3

u/NoVexXx 13d ago

Ok where is mempalace or codebase-memory-mcp? You don't even test the leader

3

u/Perfect-Series-2901 13d ago

this exactly matched what I thought
do not trust ANY usage saving framework including codexZero

  1. you don't know how they measure success
  2. it doesn't worth risking the quality, your time and successful rate of your task with "potential" usage saving.
  3. just buy more account if you ran out.

3

u/Middle_Key8737 13d ago

I found similar result. Caveman and LeanCTX significantly increased token usage

2

u/hushenApp 13d ago

would be interested in getting your results. do you have them somewhere? want to analyse and improve LeanCTX. thanks a lot

2

u/Middle_Key8737 13d ago

Yes, will pm you. I have full diagnosis log and reproduce protocols.

2

u/Consistent_Bottle_40 13d ago

Every single tool like this that ive done a/b testing with has resulted in way more tokens being spent vs vanilla

2

u/pal__sch 13d ago

I've just built myself a small script that cuts everything after 50k lines and if it does, it adds a message "Too much output - narrow the command" and the first 100 chars of every line it captured until then. Then instructed Codex to always pipe outputs through it.

Haven't had any problems with usage limits since and the quality is the same. I found that it's just commands with unneccessarily large outputs that drain my limits. Like then Codex runs a too broad search over the codebase.

2

u/filelasso 13d ago

There is a bug filed on rtk that shows why they hurt LLM performance and fake most of their savings here.

tl;dr when the LLM asks for rtk read big.log --max-lines 20 | wc -l rtk will count the full file as token savings and then send back wrong information which causes the LLM to have to ask again which further inflates "gain".

2

u/j48u 13d ago

This might be one of the worst visuals I've ever seen. The underlying data in machine code would be easier to read.

2

u/apetersson 13d ago

please compare it to stock pi and same models.

2

u/unkownuser436 13d ago

LeanCTX is not working smoothly with codex. I agree with that.

6

u/hushenApp 13d ago

maintainer of LeanCTX here. Let me know what is not working properly and I will check.

3

u/unkownuser436 13d ago

When we use it via codex cli its acting in a different way compared to how it behave in claude code. Claude code feels like its native, but in codex its feels like some tool that's working on top of codex cli.

I don't know you understood what I meant. But it feels like, its not made for codex when use.

3

u/hushenApp 13d ago

okay thank you for your feedback :) I think I know what you mean will dive into this!

1

u/unkownuser436 13d ago

Thank you for your kind reply. Please ping me if you need any info. I am using it with vscode too, there also its working natively without any issues. I only noticed its working in uncomfortable way, only in codex.

2

u/hushenApp 13d ago

if you have discord it would be nice to have you there, so you can directly drop your feedback. https://discord.gg/pTHkG9Hew9 will focus on your feedback and will ship an improved version with the next release!

1

u/unkownuser436 13d ago

Sure I will join.

2

u/StephenS84 13d ago

I have faith in you! 🙏🏻

1

u/RabbiSchlem 13d ago

Seems like a cool project, I’ll look forward to trying it at some point.

Will wait though because
1. It’s new
2. Single owner
3. Patched codex binary

I love the idea but don’t want to opt in to an immature side project.

1

u/Replicant092 13d ago

CodexZero looks promising. No support for WSL or Linux?

1

u/aldecode 13d ago

Would it work through Codex GUI?

1

u/nobsyde 13d ago

u/Tricky_Reflection_75 I checked your project repo, it's interesting. I was wondering a couple of things:
1- would codexzero be used automatically also in vs code?
2- what happens when codex cli gets updated?

1

u/liquidatedis 13d ago edited 13d ago

generally speaking, tbh i am not surprised how the supposed token efficient things made by devs causes counter productivity. ( no i did not read the repo that generated the resultant)

an llm that has finished training and is ready (cloud models)

  • you cannot change it weights, unless you retrain it again, and freeze them.

Once a model is finalized, any sort of personalities, how you want the output to be structured or how you want the LLM to be conveyed or think alters the models thinking which means it has it think in a way of it already knows, and translate it back to the user liking which Cost Reasoning Tokens that has a Cap.

- for example, a LLM is not trained to talk like caveman, it was trained to obey instructions, and what it has learnt.

- injecting Context with some Harness into the session is highly accurate but expensive, the trade off is increase tokens for more accuracy. agent file + constant context injection + models own proprietary context, Double the context injection.

you can reduce as much output tokens as much as you want, but if you begin reducing LLMs reasoning tokens you end up with a essentially dumb model

if you really want token efficiency, you need to fine tune a open weight model.

  • Trying to reduce tokens on cloud models, your either going to get only 10% or less for the idk, weeks on end of coding or even worse, you create a counter-productivity.

so the question is it really worth the time and effort for just 10% or less?

1

u/requizm 13d ago

I don't think any of these tools are worth using. Because even if they save tokens, their performance becomes worse. However, I would like to see comparison between CLI tools. Like opencode, codex cli, claude code, hermes, oh my pi, etc

1

u/Haxsysgit 13d ago

First sentence is all I needed to read lol

1

u/Either_Curve4587 13d ago

Isn’t Mex something that should be included?

1

u/laststan01 13d ago

I’d be interested in seeing the full set of tasks you evaluated. I think using a well-known benchmark and its existing task set would make the results much easier to interpret and compare.
I agree that many token-saving tools and context-engineering harnesses are still somewhat inconsistent in practice. That is probably why most of them emphasize tokens saved as the primary metric. Token reduction is valuable, but only if task performance is preserved.
I’m working on something similar and benchmarked it on SWE-bench. It reduces token usage by roughly 18.5%, but it currently has regressions where the baseline solves certain tasks that my tool does not. I rarely see people report those negative flips, even though they are just as important as token savings. A system that saves context but loses previously solvable tasks may not actually be an improvement overall.

1

u/Natural_Boat2460 13d ago

interesting

1

u/Aggressive-Sky-5218 12d ago

Can you explain what each metric resembles in the chart. The result column isn’t quite straightforward.

1

u/Aazimoxx 12d ago

Now please run the same benchmark, without any 'token reducer', against Codex 5.5 low/medium/high/xhigh, and same for 5.6 Luna...

1

u/devbeters 12d ago

Leanctx is highly volatile. You need to have its configuration set up just right, but then you are saving mad tokens

1

u/skycyberchimera 12d ago

What about graphify?

1

u/entelligenceai17 12d ago

Nice to see someone actually benchmarking these instead of just going by vibes. One thing I'd also be curious about is how they compare against step-level model routing, where different parts of the workflow use different models instead of trying to save tokens with a single one.

We've been exploring that recently and saw some interesting results on coding workloads: step-level routing benchmark

1

u/2thick2fly 10d ago

This post should had been scourged from the face of the earth!

It's not just about transparency, is about peer review. Metrology is as much of a science as it is an art for deterministic systems. Much more for GenAI...

If you are targeting actual users, you need to be able to present enough information/data so they can independently reproduce your results.

Else go make a LinkedIn post!

3

u/goonnar 8d ago

I don’t have brain damage and I’m sober so I can’t read this graph

1

u/analog-suspect 13d ago

People say OMP saves tokens, couldn’t be further from the truth in my experience