cd /news/ai-tools/claude-code-sends-33k-tokens-before-… Β· home β€Ί topics β€Ί ai-tools β€Ί article
[ARTICLE Β· art-56444] src=systima.ai β†— pub= topic=ai-tools verified=true sentiment=↓ negative

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

A developer study found that Claude Code sends 33,000 tokens before reading a prompt, while OpenCode sends only 7,000, making Claude Code significantly more inefficient in cache strategy and token usage. The findings were based on logging requests between the tools and Anthropic's endpoint.

read1 min views1 publishedJul 12, 2026

This started based off of a hunch. We usually use OpenCode, but were 'forced' to use Claude Code for a while due to issues with Meridian. In that time, we saw the usage meter rise much, much more quickly than when using OpenCode.

This was the initial anecdotal evidence, but we undertook this small study to collect empirical data:

We added logging between the agentic coding tool (Claude Code and OpenCode) and Anthropic's endpoint, and captured all requests (and the returned usage blocks).

With one caveat (toward the end of the post) we found unambiguously that Claude Code was far more inefficient in terms of its cache strategy and its harness token usage than OpenCode.

Comments URL: [https://news.ycombinator.com/item?id=48883275](https://news.ycombinator.com/item?id=48883275)

Points: 2

── more in #ai-tools 4 stories Β· sorted by recency
lilting.ch Β· Β· #ai-tools
Court
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/claude-code-sends-33…] indexed:0 read:1min 2026-07-12 Β· β€”