I can only recommend to regularly measure how many tokens a harness+model combination uses for a certain task<p>There are huge token efficiency/bloat differences between agents while working on the same tasks, using the same model, in the same environment<p>Yesterday I ran 10 agentic tasks using GPT 5.6 Sol in an ubuntu 26.04 vm a couple of times with different harnesses and got vastly different token usage.<p><pre><code> +-------------+-----------+-----------+-----------+-----------+--------+
| Harness | API total | Input | Cached | Uncached | Output |
+-------------+-----------+-----------+-----------+-----------+--------+
| smol | 172,807 | 142,334 | 8,704 | 133,630 | 30,473 |
| Pi | 427,211 | 392,767 | 137,216 | 255,551 | 34,444 |
| OpenCode | 1,564,429 | 1,523,957 | 1,204,736 | 319,221 | 40,472 |
| Codex | 3,005,744 | 2,953,154 | 2,649,344 | 303,810 | 52,590 |
| Hermes | 3,856,611 | 3,808,231 | 3,167,232 | 640,999 | 48,380 |
| Claude Code | 5,073,137 | 5,029,969 | 4,587,008 | 442,961 | 43,168 |
+-------------+-----------+-----------+-----------+-----------+--------+
</code></pre>
<a href="https://x.com/__tosh/status/2083593799872237680" rel="nofollow">https://x.com/__tosh/status/2083593799872237680</a><p>I'm not surprised that Claude Code is not optimized for an OpenAI model but I was still quite shocked re how much of a difference the harness makes.<p>Disclaimer: I'm working on 'smol' which is a minimalist harness but it's really nothing special, just a minimal system prompt, no skills files, only tool is shell<p>Do not underestimate how much popular harnesses are spamming the context window. The context window is very important.
> The context window is very important.<p>It is everything. My experience with Claude Code is that you have to decide when to compact to make it efficient. It defaults everything to 1M context and it will never keep it in check. It is strange how little cache reads you hit in smol, that may be a configuration issue.
> Do not underestimate how much popular harnesses are spamming the context window. The context window is very important.<p>Do we have any insight into whether it is actually spam and not useful info such as project or programming language specific context?
Claude Code injects a ton of tools into the system prompt, including their “memory system” that’s like 10k+ tokens. Depending on your task shape, this can easily double your task cost (e.g. a low context-using job that takes many turns, like a monitoring loop).<p>You should use --disallowed-tools to prune any tools not needed for the task. Note that this is also a perpetual game of whack-a-mole since they’re always adding new tools.
> Claude Code injects a ton of tools into the system prompt<p>It's so unfortunate they don't let you use the subscription with other harnesses anymore - since even if I used OpenCode they'd still get a bunch of useful data from the API calls, meanwhile I could stretch their tier limits way further.
According to ccusage I use about $5k of tokens on my $100/mo Claude Max plan and only hit 5-hr windows where I have to switch tools for a couple hours about once a week
Subsidized Anthropic subscriptions seem to work fine on the oh-my-pi harness, somehow.
It's so unfortunate people don't realize it's cheaper to write their own well working agent instead of insisting with general purpose bloated ones like Claude.<p>200$/month is a lot of money on Luna/DS4 flash, like really a lot and the results are much better than clowning on bloated CC.<p>It's absurd how you have more and more organizations encoding their processes on LLMs and "engineers" (charlatan coders) don't even bother optimizing the tool they use most.
> the results are much better than clowning on bloated CC.<p>I won't argue with the cost effectiveness, but the results are very much <i>not</i> better. Opus and Fable are in a different league than DS4 Flash. Even GPT Terra, which I really like overall, sometimes gets stuck in weird loops and starts to do stupid stuff once its context window fills up. Whereas I can more or less trust the big models to just Do The Thing™ on the first try.<p>With that said, you get way more value out of a GPT subscription than you do from Claude, partly because of the ability to use more efficient harnesses.
The system prompt part is surely cached across all users.
You still pay cache token costs on API calls. Cache cost/token are 90% lower, but you pay it every single turn.<p>I’m not sure if they let you skip the cache write cost on the first turn. That would imply cross-user caching infrastructure or special casing the default system prompt to give you a discount. Maybe? Away from the computer but you could try a “hello” in a fresh session and see what was billed.
For Anthropic models, yes. But OP was using Claude Code with GPT.
the system prompt still takes up useful space in the context window and steers the model into unnecessary actions and over-thinking patterns
ty re --disallowed-tools<p>for coding agents 'shell' is often all you need (just make sure the environment has the necessary tools)
appreciate the tip, kind netizen
While there's a lot of bloat in the harnesses, almost all of it is cached. Your harness appears to be caching almost nothing. That will almost certainly bode extremely poorly for longer-running tasks than the simple ones you mentioned testing. Benchmaxxing for simplistic tasks could leave you not only suffering in completion rate on complex tasks but also possibly even not end up with the cost gains you're hoping for. And maybe that's fine if the only thing you use agents for is the very simple tasks, which is certainly a defensible decision, but probably bears mentioning when you're comparing it against harnesses with a different design goal.
What tools are you using to run the comparison? Or are you just running the prompts and checking them with something like ccusage?<p>I’m asking because I’ve been looking for agent harness comparison tools too. I’m interested in more than just the inputs and outputs—I also want the system prompts, traces, and tool calls. It’s useful to understand why Codex, for example, uses more tokens while Pi doesn’t.<p>Fewer tokens aren’t necessarily better if the agent skipped important checks. On the other hand, using more tokens could just mean it’s overthinking the process. Either way, seeing the full execution trace for the same task is really valuable.
I built an ad-hoc custom comparison framework to inspect system prompts, caching behaviour, tool call outputs, exact api requests and responses and so on<p>I agree fewer tokens is not necessarily better but a bit counter-intuitively often the harness using fewer tokens is not only done faster but has better results<p>(that said: of course check the results, look at the full traces, agree!)
Running some local models and wondering what insanity was consuming 100k+ tokens to respond to "hello world" was rather eye-opening, yeah. Full of pointless fluff.
Thanks for sharing.
Naming tangent: FWIW I have recent interest in "smolvm" microvms from smolmachines.com, which are unrelated.
Anything else I can read about smol?<p>also, are you using a tool to collect those metrics? what is it?
smol is basically this 9 line python agent re-implemented in Go<p><a href="https://news.ycombinator.com/item?id=49006862">https://news.ycombinator.com/item?id=49006862</a><p>I'll have more about it in the next hours/days, you can follow me on twitter in the meantime (<a href="https://x.com/__tosh" rel="nofollow">https://x.com/__tosh</a>)
> There are huge token efficiency/bloat differences between agents while working on the same tasks, using the same model, in the same environment<p>Be careful here. Remember these are non-deterministic models at the end of the day, and even with everything being "the same" you can have two runs where the same model, same harness, same tools can arrive at the same conclusion through a wildly different sequence of events.
this benchmark is a very misleading because it doesn't necessarily point to these harnesses saving usage and much of the harness that comes with codex for example is designed at cross functional agentic usage which you will be leaving behind by using a different harness. openai spends a lot of time as does claude. also note that cached is what makes up bulk of the total and codex and claude has huge discounts in that scenario.<p>the "spamming" is mostly compaction appending files, tool artifacts, images in its summary there is a known github issue for codex. only solution is periodic clean up but its also how a lot of the agentic orchestration is performed and able to work for days.
Same task? How did the results compare?
the tasks were all simple agentic tasks<p>like creating a checksum of a file, merging csvs and so on, fixing a makefile pipeline<p>with known 'good' outcomes<p>all harnesses could reach the outcomes, only cost, time, number of tool uses and so on were different<p>(Claude Code failed once in 1 task but I think that was just an unfortunate outlier, the tasks aren't that difficult)
[dead]
I was an early and passionate adopter and paying customer of Cursor (since 2023!), but it’s probably been 6 months since I opened it.<p>These days I “write” code with claude code and codex, and read/review it on GitHub. If I need to read it locally, I use a plain text editor.<p>Can someone help me understand what value cursor offers in 2026?
It removes money from your pocket into theirs faster than Claude will take money out of your pocket and into theirs. I was a Windsurf then Cursor user and even provided product feedback to the Cursor team on various aspects of their product but the costs for using it killed the value.
Cursor has two benefits<p>1) It's still an IDE. Because of pricing I mostly use Codex, but I always have a VSCode/Cursor IDE open, thus have to juggle between the two. Working directly in the IDE is more comfortable. For full on vibecoding that might be worse, but when you want to do a deep review of the changes, an IDE is way better than reading a diff on github.<p>2) It supports every model. It's often very helpful to try different models when you don't like the result of the first.
You can use VSCode / Zed, run any CLI coding agent in the integrated terminal and review changes using the Git working tree diff view the IDE offers. Extensions seemingly give more ergonomy, like diffs of agent changes separate from Git, or option to comment on specific file or section, but I found out that agent CLIs don't really need that today -- most of the time they know what I mean without needing to explicitly point at code locations.
Can't VS Code extensions solve your use case?
They're not as good. I've tried all the options available a couple months ago, and none of them feel nearly as polished as Cursor. For one thing, Cursor Tab is just far better than any other "next edit" prediction I've used. I also happen to like their agent UI the most, but they don't support ACP, so you can't use it with Claude Code, which was a deal-breaker for me.<p>These days I've switched to Zed, which is good enough (and wicked fast), but I still miss Cursor as an IDE.
I tried the codex extension many months ago but I didn't like it. I use mostly the Codex App, or sometimes the Codex TUI inside the IDE terminal.
You can use Intellij Ides, at least free ones.
Cursor Tab is nice when you're hand-editing stuff. Not sure it's worth $20 though. I'd totally buy and forget a $5 Cursor subscription just for Cursor Tab.<p>The $20 price point is just too competitive now and I'd rather use the Claude/Codex plugin over Cursor's agentic coding sidebar.
Recently they also seem to have made big changes that makes Cursor worse for editing code by hand. I'm not sure what they are trying to do, but it doesn't feel like vscode fork anymore.
I'm starting to consider alternatives.<p>To answer your question though, to me your workflow seems cumbersome. Cursor is more integrated and more frictionless.
Cursor has two “modes” agent and ide.<p>In agent mode it’s horrible for editing files etc but better if you are juggling multiple chats
I felt the same, but I realized, that if you vibe code more, the changes make sense. Simple example:<p>Should the AI sidebar be on the left, or on the right? At some point they swapped them automatically, which was jarring (maybe a bug). But now I realize that if I'm not the one primarily writing code and navigating it, then I prefer agents in the "primary" position on the left (esp. if I have the browser on the left half of the screen, the agents are in the middle).<p>What annoys me the most about Cursor is the random stuff that breaks (due to its nature of VS Code fork).<p>The tab experience is still unparalleled. The cost might be worse than Codex/Claude sub, but they are all much, much, much cheaper than API pricing, so depends on your POV.
Look at Cursor CLI: <a href="https://cursor.com/cli" rel="nofollow">https://cursor.com/cli</a>
I don't think it offers any. I got tired of switching between Codex and Claude plus I wanted to start using glm and kimi so I switch to pi. Then I got tired of VSCode eating up battery and RAM so I moved to Neovim which has barely any efficiency downside anymore since most code is not written by hand and if you know how to use it well it was only maybe 10% less efficient than VSCode to begin with. I am not sure why a heavy desktop application would be better than nvim + pi in terminal which are both super extensible via vibecoding and very light on resources.
I have tried multiple times to switch from Cursor to VSCode + command line tools or VSCode plugin for Claude, but it just doesn't work as well as Cursor itself.<p>Especially if you are doing "remote" development through SSH. If you are doing stuff where you still have to write some parts of the code manually or you have to fix few things here and there that the AI outputs, you still need a real editor.
The way they spin up multiple Composer 2.5 before sending it over to the model of your choice is nice.
How do you diff ?<p>Unless by "text editor" you mean Neovim or Emacs ?
I'm also confused about Cursor. I use Zed. It seems like whatever Cursor has is pure commodity and yet it's worth billions?
You can use Cursor CLI, it's a terminal agent, just like Claude Code and Codex. I use it sometimes, I haven't opened the actual Cursor IDE in ages.<p>The potential benefit of Cursor CLI (vs CC and Codex) is that you can easily between all major models (by Anthropic, OpenAI, xAI, as well as Kimi K3 and GLM 5.2). I found it useful when reviewing work - e.g. I implement using Opus then review using Sol, etc. Models by different providers tend to have different perspective on things and they can find different issues with the code.
Zed lets you use Claude Code, Codex, OpenCode, etc. all through the same UI. Like you, I use that to cross validate using models from different providers and switch over to GLM 5.2 when I exceed my Claude Code limit.
Code and reasoning generated by Opus/Fable via Cursor seems to be quite better than Claude Code's for the same prompt.
Design mode: <a href="https://cursor.com/blog/design-mode" rel="nofollow">https://cursor.com/blog/design-mode</a>
(I work at Cursor)<p>You can still see what you’re billed on the Spending page. We did accidentally break dollar costs in the Usage CSV export yesterday while cleaning up an old feature flag. That was not intentional and the CSV export is fixed now.<p>That feature flag also showed a dollar usage graph to some self-serve users. The confusing part was included plan usage shown as $, which is not what you’re billed (on-demand usage is). Some people read it as actual spend, so we decided to remove that graph.
The circular cost indicator near the context usage indicator was also removed. It is so much easier to accidentally leave an expensive model enabled now and not realize it until you have blown through the included credits. And it is hard to imagine that that wasn’t the point of the change.
> You can still see what you’re billed on the Spending page.<p>No, you can not: <a href="https://www.pasteboard.co/dNXUdT-h8Giy.png" rel="nofollow">https://www.pasteboard.co/dNXUdT-h8Giy.png</a><p>If you want to say that "admin can" - it doesn't matter, I'm not going to ping admin every day to check how it goes. I'm not going to ask admin about every session to check how cost efficient a model was.
[flagged]
Do you really think that users on a subscription plan aren’t intelligent enough to know that you are showing dollars at API rates if they weren’t on a subscription plan? This is a terrible change.
Elon will be paying his staff in tokens in the future. Grocery stores will have on-demand pricing shown in tokens, and prices will change from the time you pick up the product and you pay at the checkout. It’s Ok, Elon said money won’t exist soon anyway…
Some people don’t use AI and I don’t get it. My wife has never used AI and yesterday I saw her reading a book made out of paper.<p>I imagine she’s just weighed all the details and options in her mind and plans to french fry tokens from my plate instead of getting her own.<p>And I hate that. I mean, I love her. She’s definitely value-add. But those are my tokens, right? My brain doesn’t do books. I can’t sit on the beach and read. I must always be swimming somewhere meaningful. So I’ll be vibing the next great Canadian web app and she’ll just casually ask, “hey what do you want to do about dinner?” So now I’m asking Copilot to tell me what I want for dinner. And it’s just… <i>c’mon lady</i> get your own tokens.
Cursor achieved fast adoption by making it simple to move from Visual Studio code.<p>Double-edged sword. It is also simple to move back to VS code and agent extensions.
This is basically what I did. In 2023 I moved from VS Code to Cursor. And in 2025 when Opus 4.7 (or was it 4.6?) did that big leap in December, I switched to Claude Code and VSCode for any edits. I come from Sublime Text so those shortcuts are hardwired in me (which was also the defaults in VSCode). When Cursor hijacked literally every CMD key combo, I got fed up and switched back to VSCode. Maybe I should just go back to Sublime Text now lol, since I really just need a blazing fast code reader.
Cursor has an import assistant from vs code settings. Ahere is no assistant for the inverse. Not even for moving between computers (at least a couple of months ago when I had the need haha).
Saw this at work yesterday. Absolute insanity to do something as user hostile as removing the cost of the service. There's no way to attempt to brand this as anything but negative for the user, and positive for the company.<p>Gotta justify a $60B purchase of an IDE and (at the time) a single, decent model.
If users start questioning the ROI of your AI product just hide the “I” from them. Problem solved.
Agree, I think these companies want to make token usage opaque. Not dissimilar from an AWS bill at most orgs. Not saying you can’t, with great discipline, using good tags, etc, have a good view of where your money is going. But I don’t see it much. And suspect they want to make it super hard to tell the difference between an engineer making wasteful decisions of how to use AI, and someone getting great “value per token.”
Not showing the model cost in the Cursor UI is the biggest failure of Cursor.
Cursor was a great introduction to agentic engineering but I've learned their Claude pricing is largely just batch purchases. Their real moat I think is Composer 2.5 because both their agentic and IDE experiences fall short of Codex and Claude Desktop in my opinion. I think their sales will tell you economically they make the most sense and I would probably agree, but cost isn't everything especially when the spread isn't that wide. At this moment, capability is really king.<p>These days I'm using Codex and Claude Desktop with Zen when I need to look at code. Codex's real time audio chat feature (not dictation) is also second to none when paired with their agentic flow.
That is how company gets greedy. Just archived that thread, wonder if cursor will close and remove it
Cursor has been my corporate vendor for accessing non-anthropic models. Without cost insights and with no ability to proxy API requests its value drops dramatically. They fought hard for a renewal with legacy pricing mode then broke the deal soon thereafter. I’ll be extremely clear to leadership that Cursor usage should be minimized and not renewed. I frankly don’t trust them with IP either, and you shouldn’t either, especially if you’re demonstrably not in a big enterprise.
I think most standard users are intelligent enough to know if they’re on a subscription plan, the dollar amounts shown are if they were paying at API rates. This change is ridiculous.
This month I've noticed that my Cursor model use has gone up faster with Composer 2.5 - I have bothered with Grok yet. Despite the advertised twice-the-usage on Cursor own models I'd say it's burning faster.
They just don't want you feel obligated to thank them SO MUCH for hidden better prices
I am shocked, shocked, that a company that is part of SpaceXAI would become hostile to its existing paying users and partners. This has never happened before in history.
Small thing but makes a big difference
I’ve been working on a project to solve this problem with Claude code, codex, etc by recording usage and translating to $ in realtime. Looks like I’ll have to add Cursor support now.
The ground-truth is the rudeness is load bearing at human machine interface.
cursor is a scam. they pissed me with their UI changes & shady pricing, so i tried claude code recently for the first time and instantly regreted i havent tried earlier
Well ... don't use Cursor. It's really that simple.
It's free? Oh it's priced in "tokens".<p>Kind of (barely) like how Facebook has "friends". Or how a Snickers bar costs $1.99 and not $2.<p>Abstracting meaning of "cost", reducing value of information. Maximizing profits. Enshittification.
Cursor you have a beautiful comeback story, you have a wonderful model with Composer 2.5, and a terrific behemoth with Grok 4.5 now. A top-tier dev ux with the Cursor agent app, why on earth are you squandering this opportunity and behaving this way?<p>You came back from the dead pretty much and now you're pissing it away for what exactly?<p>Do not spite your individual developer customers or you will perish yet again.
Yet another reminder that the companies providing the AI tools everyone is so gaga over are in it to make money off of you. They can and will engage in rugpulling, deception, and other shenanigans to take your money.
[flagged]
[flagged]
[dead]
[flagged]
[flagged]
Elon-ification begins...