A wire-level benchmark reported by Systima and discussed by developers compares token “overhead” in two agentic coding CLIs: Claude Code and OpenCode. Using a logging proxy that captures the exact JSON request payload and the model’s usage block, the study measures how many tokens are sent before the user’s prompt is read. In a controlled setup (fresh config, empty workspace, no MCP servers, and no instruction files), Claude Code sends roughly 33,000 tokens before the prompt, versus about 7,000 for OpenCode, a gap of about 4.7x.
The analysis indicates the difference largely comes from larger system prompt and tool-schema payloads, since tool definitions are included in requests whether or not they are used. The study also finds substantial disparities in prompt-caching behavior during multi-step sessions: OpenCode emits byte-identical prefixes across runs and appears to cache the prefix once, while Claude Code rewrites prompt-cache tokens repeatedly, leading to much higher cache-write token counts.
In multi-step benchmark tasks with identical correctness, total input-token consumption is reported as higher for Claude Code (about 3.7x in the cited runs). The sources also note that overall cost depends on session structure, including tool batching and the use of subagents.