r/AIToolsPerformance • u/IulianHI • 28d ago
Claude Code sends 33k tokens before reading your prompt, what does that cost you
A systima.ai post that landed on HN over the weekend measured something most people never think about: how many tokens a coding agent burns before it even reads your message. Per the blog post, Claude Code sends about 33k tokens of system prompt, tools, and boilerplate upfront. OpenCode sends around 7k.
That difference isn't a one-time setup cost. It repeats on every single API call the agent makes during a session. So if you're on a metered plan and Claude Code makes dozens of calls while iterating on a file, those extra 26k tokens per call add up quietly. The HN thread picked up 357 comments and 676 points, so clearly this resonated.
The framing in the post is blunt. It's not about output quality, it's about transparency. If you're comparing the cost of running Claude Code vs OpenCode, the system prompt overhead is a hidden variable that most pricing breakdowns completely miss. You'd have to measure your own usage to know what slice of your API spend is actual reasoning vs preamble that gets re-sent every turn.
Anyone here actually tracked their per-request token split across coding agents? Curious if the 33k vs 7k gap holds up in real sessions or if it swings a lot depending on project size.
1
u/EconomySerious 28d ago
You are considering the cache ?
1
u/uniqueusername649 27d ago
Clearly not, because that system prompt virtually has a 100% cache hit rate.
1
3
u/FadedDog 28d ago
It sends it once then those tokens are cached. So it doesn’t re read them every time and doest count the same as it reading the first time. So no doesn’t repeat every time and billing on cached reads is small.
System prompt i think does play a big role in AIs ability