Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k
231–240 of 433 posts
Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k
#232Earlier quoted context omitted.
If I were anthropic I’d force that too. They offer the harness and if they control the entire pipeline then they can optimize the entire experience. It doesn’t have to be nefarious.
It's like Microsoft banning Vim users that use Azure
It's still questionable but I don't think it's in the same ballpark as what you describe.
Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k
#233Earlier quoted context omitted.
The curiosity is inefficient though. So many times I have to stop the agent and tell it to just fucking write the code and try compiling it. Otherwise it will fill its entire context tracing through the program logic to derive from the code itself whether the thing it is about to do would work. It completely fails to notice it can just… try.
I think I use it differently. I still mainly stick to web UI. I write a good prompt, paste the code then copy the output code and place it into my project. So in the end I hand assemble and I only give it what it needs to know so no extra context wasted. The human in the loop is of course the secret sauce but this way I am highly efficient, no vibecode and I work really fast too. Everything is audited.
Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k
#234Earlier quoted context omitted.
You're making the opposite argument. Anthropic is incentivized to use less tokens in Claude Code because people are paying a fixed monthly fee for subscriptions.
Nope, that’s not true, because they want you to pay for the higher subscription bracket.
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 access to better models and features, and are not necessarily even doing any substantial work.
Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k
#235It is not the raw prompt size that matters ultimately, otherwise Pi (and variants) would be the lowest costing agents. What matters is how efficient the prompt it. Prompt minimalism often gets conflated with efficiency. Having said that, CC does seem bloated for what it does. What matters even more is tooling quality. Bad/buggy tooling causes a lot more roundtrips that wipes out all gains from initial greedy approach…
Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k
#236Earlier quoted context omitted.
Anthropic's cache expires after 1 hour when using subscription endpoints, and for those cached tokens cache reads are free. It's generous (compared to API pricing) but it's not 100% free.
Isn’t it 5 minutes ttl now?
Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k
#237Grok 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.
Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k
#238My 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.
> My opinion is that claude code uses more tokens simply because Anthropic makes more money that way and forces people into their subscriptions. OTOH, this makes typical subscriptions usages consume more tokens, which are included in their flat fee. This sounds more like incompetence than malice.
To remind Goodhart's law: "When a measure becomes a target, it ceases to be a good measure".
..also to parent's point, yes the upsell is only appealing once user run's out of tokens.
Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k
#239Earlier quoted context omitted.
Spawning a bunch of agents seems to happen randomly. I almost never want this.
In my CLAUDE.md I put: > CRITICAL: Do NOT spawn sub-agents for any reason. Perform all work in the main session. If a task is too large, ask me to break it down manually. > This is a big task, and can easily get too large. However, sub-agents make the situation worse, and eat through our token budget way too fast. Do not use them. > Take on manageable tasks. Don't try to do everything at once. When you start on a big…
Re: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k
#240What really burns tokens is sub agents. I once gave Claude Code a pretty big task, and it immediately launched 7 sub agents which burned through my budget before even one of them was finished. Tried again 5 hours later: same result. If I let the main agent do the same task sequentially, it was no problem at all. I don't know if it's really just communication and orchestration that makes sub agents so inefficient, or…
The best you can do in such an environment is seek to introduce new features at the top tier, and then pull old features down the stack as the cost of those features has been amortized out, or to hurt your competitors by raising the ladder.