Live data from Hacker News

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

systima.ai

131–140 of 433 posts

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

#131
post #53

What 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…

Sub agents each have to read part of your code base again to get enough context for the task. And if they take too long, your orchestrator's context is no longer in cache so you pay full price for that again once the subagents finish If you do it sequentially you only read those files approximately once, and everything hits the same prefix cache

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 subsystem-specific AGENTS.md/CLAUDE.md files are still superior and accomplish the same thing. The problem with those is they can become stale.

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

#132
post #13

I am forced to use cloude code at work but a good solution is to just use --system-prompt "" and be done with it. I wish they allowed for other harnesses.

Yep, have been using this for a long time now. No idea why everyone doesn’t.

Does it have any negative impact? If not, I’m not sure why this wouldn’t be the default behavior. It feels like Anthropic is just putting their foot on the scale to drive up costs or for the enterprise, or push consumers to higher subscription tiers.

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

#133
post #106

Recently switched to Codex after 6m in Claude. Codex seems more open, it’s easier to follow what the model is doing and the approvals have a better UX. Overall, it just feels more transparent. Cost of switching was close to 0. I don’t like that Claude became more opaque around February, including the system prompts. 33k feels way too much.

I use both now and agree they're basically interchangeable. I appreciate that Codex is open source and OpenAI has explicitly said using the subscription with other agents is ok. OpenAI has been much more consumer-friendly recently.

And OpenAI didn't try to silently degrade performance of their top model if its (extremely sensitive) safety sensors went off ...

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

#134
post #81
post #73

Earlier quoted context omitted.

Every subagent send the same ~30k system prompts. If you are using fable/opus, that's easily 30% of a 5-hour window for 7 subagent, before doing any work

I recently did a few tests. And always the same prompt has been cached properly.

Cache is usually not shared between agents - they can have different base prompts, tools, and be an entirely different model.

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

#135
post #53

What 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…

It's in the best interest for AI companies to gobble up tokens. I feel like every new release - Fable, etc - is just a way to extract more tokens/money.

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

#138

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.

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

#139
post #133
post #106

Earlier quoted context omitted.

I use both now and agree they're basically interchangeable. I appreciate that Codex is open source and OpenAI has explicitly said using the subscription with other agents is ok. OpenAI has been much more consumer-friendly recently.

And OpenAI didn't try to silently degrade performance of their top model if its (extremely sensitive) safety sensors went off ...

Anthropic is the silver lining keeping p(doom) below 1.0

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

#140

Recently switched to Codex after 6m in Claude. Codex seems more open, it’s easier to follow what the model is doing and the approvals have a better UX. Overall, it just feels more transparent. Cost of switching was close to 0. I don’t like that Claude became more opaque around February, including the system prompts. 33k feels way too much.

What settings have you tried since it "became more opaque"? They've got a lot more settings now.

CC went from sane defaults in late 2025 to feature scope creep early 2026. So more features might be good, but sounds like an ick for me. But I have zero prestige, I might switch back.
Post reply on HN