PulseAugur
EN
LIVE 13:09:41

Anthropic's Claude Code consumes 5x more tokens than OpenCode due to extensive scaffolding

A technical analysis by Systima Technologies reveals that Anthropic's Claude Code consumes significantly more tokens than its competitor OpenCode, even before user input. Claude Code initiates sessions with approximately 33,000 tokens for system prompts, tool schemas, and injected scaffolding, compared to OpenCode's 7,000 tokens. This difference is attributed to Claude Code's extensive suite of background agents and reminder blocks, as well as larger system prompts. Furthermore, Claude Code's prompt caching mechanism is less efficient, leading to higher costs due to frequent cache writes, a factor that can dramatically increase token usage in production environments. AI

IMPACT Highlights significant cost-efficiency differences in AI agent scaffolding and prompt caching, impacting operational expenses for developers.

RANK_REASON Analysis of a specific product's performance and cost implications.

Read on dev.to — Anthropic tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Anthropic's Claude Code consumes 5x more tokens than OpenCode due to extensive scaffolding

COVERAGE [1]

  1. dev.to — Anthropic tag TIER_1 English(EN) · Andrew Kew ·

    Claude Code burns 5x more tokens before you type a word. Here's where they go.

    <p>Somebody finally put a logging proxy between the harnesses and the API and measured what actually goes over the wire. Systima did it, and the numbers are not subtle.</p> <p>Claude Code opens a session with roughly 33,000 tokens of system prompt, tool schemas, and injected scaf…