Live data from Hacker News

Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

systima.ai

241–250 of 433 posts

Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

#241
post #88

My opinion is that claude code uses more tokens simply because Anthropic makes more money that way and forces people into their subscriptions. This is supported by the fact that they won't let you use your sub on a different coding agent. I use pi btw.

Once I realized that Anthropic is a token merchant, I start to understand Anthropic’s decision more. They are always finding reasons for you to use more tokens through them unless the users revolt or demand some guardrails.

Serious Willy Wonka energy?

Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

#243
post #88

Earlier quoted context omitted.

Once I realized that Anthropic is a token merchant, I start to understand Anthropic’s decision more. They are always finding reasons for you to use more tokens through them unless the users revolt or demand some guardrails.

But they gave us double the tokens! Then a limited time more usage! Then even more tokens "off peak" times! Then some new model released but apparently it inherently used 1.69x tokens! Then Fable is here but "it uses much more usage". But only until ~~the US banned it~~ ~~7th July~~ ~~19th July~~ who even knows. At this point I think Dario is just in his wellness retreat adjusting a revenue/profit dial.

Ah, the ol' retail switcharoo.

Increase the price by 70% and then cut it by 50%, resulting in a 15% cut that sounds like a major deal.

Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

#245

Earlier quoted context omitted.

Nope, that’s not true, because they want you to pay for the higher subscription bracket.

Higher subscription brackets are likely worse for them. I recall seeing someone calculate that a fully maxed out highest subscription bracket is something like $15K in tokens? And people paying $100 or $200 are much more likely to max it out for purely psychological reasons - it crosses that threshold where I want to see my money's worth in full. Whereas people on $20 subs are more likely to be there just to get acce…

It's always more complicated than that because the prestige and Early Adopter users are what drag other people to also be customers to avoid FOMO.

Your gym members who got a subscription aspirationally and don't show up are absolutely subsidizing the power lifter who is introducing wear on (tens of?) thousands of dollars of equipment three times a week, but if the regulars weren't there you wouldn't have sold those subscriptions at all. Without a poster child there's no poster.

Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

#246
post #188
post #5

This isn’t limited to large system prompts. Coding-agent harnesses are also becoming more aggressive about using tools, even for trivial requests. In our tests, prompts such as “Hey” or “commit” sometimes triggered 30+ tool calls: https://quesma.com/blog/the-true-cost-of-saying-hi-to-an-ai-... Tokenflation seems very real: the number of tokens consumed by simple tasks keeps increasing.

Why are you asking the LLM to commit? Can’t you do that yourself?

Why are you asking the LLM to code? Can’t you do that by yourself?

Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

#247

pi sends 1k (or less) -> https://github.com/earendil-works/pi/blob/main/packages/codi... My $20 sub using gpt 5.6 sol thinking-off lasts for hours using pi.

Why turn thinking off? I mean, yes, it uses less tokens, but you're using the best model OpenAI offers, but then making it as dumb as cheaper models.

Interesting question - what I learned doing that is that sol ends up injecting its thinking traces as code and shell terminal comments. YMMV, but in my case what I saw was sufficient to use with my routine work in my projects

Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

#248

Grok 4.5 is really fast, has more usage at $10/month than $20/month Claude pro, and Opus-level. Claude pro feels like a demo. Claude is much better in OpenCode then in Claude Code, OpenCode is just better than Claude Code. Claude Code feels like a complete mess to use comparatively.

Elon saying that it is "Opus level" doesn't actually make it so.

I've compared them, have you?

Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

#249

Earlier quoted context omitted.

Yes but one of the key things about subagents is they keep all of their tool calls and exploration out of the parent context. If you plan on continuing on in the parent, and aren't going to necessarily be touching the systems the other agents are exploring, it can be worth it. It's useful in certain situations where the parent context may need the "10,000 foot" view of something without going back in there. But subsy…

They are just making the point that it makes sense that subagents would use more tokens because they have none of the parent's context.

That is true of Anthropic's implementation but not inherent in sub-agents in general.

Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

#250
post #6

And pi agent is even less. The entire agent system prompt can be seen here: https://github.com/earendil-works/pi/blob/main/packages%2Fco...

Read through it an I'm curious whether setting the date and cmd on every system prompt call will cause the cache to invalidate. I guess the cache would only be invalid if the day changed or the root directory, which would technically happen infrequently enough.

I get 95% or more cache hit rate with pi and DeepSeek or MiMo so it doesn't invalidate.

But I'll investigate how that works in a session. You got me curious.

Post reply on HN