Claude Code Injects 33k Tokens Before User Prompt, Sparking Context Opacity Debate

frequentcrazy33 · reddit · 2026-08-01

A developer compared the actual request overhead of Claude Code and the open-source tool OpenCode. Results show that in the first turn, Claude Code injects roughly 33k tokens of system instructions, tool definitions, and context before the user prompt, with 24k just for tool schemas. OpenCode's baseline is closer to 7k.

The author notes that while Claude Code's initial context is larger, it supports batched tool calls, potentially making fewer requests and costing less overall in multi-step tasks. However, this opaque context assembly prompted the author to rethink tool selection: choosing between convenient hosted agents that obscure context details, or self-managed open-source tools (like OpenCode, Aider, Cline) that offer transparency at the cost of manual setup.

Original post →

More from coding & agent

coding & agent channel →