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.
More from coding & agent
- Subsola: a free open-source 3D map of underground utilities in 10 US cities, built with Claude Code — anselm · 2026-12-02
- "CI/CD is dead": Developer lays out the AI Software Factory replacing traditional pipelines — Pavan_Belagatti · 2026-12-02
- Codex lead confirms upgraded harness not shipped yet; current one 'will seem primitive in 2-3 months' — VraserX · 2026-12-02
- banger: open-source agent skill writes hit-style Suno songs hook-first — tetsuoai · 2026-12-02
- Agent skills cut AI music video generation to under 2 hours, Suno skill released — tetsuoai · 2026-12-02
- Redditor secretly undid Claude Code's work every 10s; agent honestly reported a "ghost" — 32minutos · 2026-12-02