Live data from Hacker News

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

systima.ai

21–30 of 433 posts

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

#21
post #11
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...

Maybe related to this minimalism, Pi doesn't come with most of the tools an LLM needs to function efficiently or effectively. I get that a blank slate is the paradigm, and you can add whatever you want, but it's too blank IMO.

[dead]

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

#22
post #7

I recommend that Opencode users try Dynamic Context Pruning as well: https://github.com/Opencode-DCP/opencode-dynamic-context-pru... It works great for long-horizon tasks, and feels like it saves a boatload of tokens.

The Sleev (the project has been renamed to make a startup) creator was shilling their project in the OpenCode Discord. That person is very convinced they have something that no one has ever built before. They focused on token reduction without any real evals for capability impacts. I'm generally against this context pruning without prompting or details. Sleev is very opaque about how it works and definitely will bust…

It's definitely not unprecedented, but the plugin version is useful. Sleev seems like a nothingburger, I'm happy with the results I get from DCP already.

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

#23
post #12

Anthropic wants to produce the best coding agent possible and doesn’t care (is even incentivized) about high costs. Other harnesses have to make trade offs between performance and cost.

Given they're incentivized to increase token use, what guarantees that higher token use improves the effectiveness of the agent and isn't just artificial padding?

Well, nothing really. But I assume there can be some benefits to modifying context. For example, updating file contents or marking them as modified, summarization, injecting additional information, removing irrelevant tool call results, etc.

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

#25
post #15

Anthropic wants to produce the best coding agent possible and doesn’t care (is even incentivized) about high costs. Other harnesses have to make trade offs between performance and cost.

Is there evidence that it is actually a better agent though?

There’s evidence it’s a worse agent actually. I’m just saying in theory.

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

#26
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.

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

#28

I've been trying various harnesses like Pi, OpenCode, Qwen Code, and Nanocoder. A common problem I keep running into is failed tool calls, regardless of the model. What is the best harness and on-device model combination right now?

You can't afford the best model. What are your specs and what models + quants have you tried?

Qwen 3.6 35B A3B and Qwen 3.6 27B can both do reliable tool calls on Pi at Q4_K_M using llama.cpp

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

#29
With Fable being per token instead of on the subs (unless they changed it again?), I decided to test Claude code on OpenRouter where I had some credits, with Opus 4.8 and Fable 5.

I asked both a trivial question (summarize last commit). Opus cost 50 cents, Fable about $1.

That checks out because Fable's twice as much in the API (though I think its emphasis on correctness makes the difference larger for bigger tasks).

But, at $1 per question, I think I will stick to the subscription for now! I was certainly glad GPT-5.6-Sol is included in OpenAI's subscription, and I'm curious if they'll be able to do the same for GPT-6.

All the VC money appears to have run out a few weeks ago.

Post reply on HN