33k vs 7k tokens: what the comparative overhead reveals about Claude Code and OpenCode

Ongoing story : Harness Ops : post-mortems et bench des agents en prod· Part 2/17

Craft Jul 13, 2026 at 02:197Add to bookmarks

33k vs 7k tokens: what the comparative overhead reveals about Claude Code and OpenCode
Illustration : Léa Fontaine

The harness speaks before the prompt. What it says—and how much it costs—now defines the product.

In plain terms

A Systima.ai benchmark (July 12, 2026) measured what Claude Code and OpenCode send before processing the user prompt: ~33,000 tokens for Claude Code, ~7,000 for OpenCode. The difference is not cosmetic—it is architectural.

The fact

Systima intercepted the API between the CLI and the model: Claude Code sends a system prompt + a tool description + a usage reminder totaling ~33k tokens; OpenCode sends ~7k tokens for the same setup. Over an average usage cycle, this translates into additional billed tokens and pressure on the KV cache.

Analysis

Two philosophies oppose each other, and they are not neutral.

Claude Code plays the heavy harness: detailed instructions for tooling, embedded examples, rich role context, explicit safeguards. The bet: a long system prompt reduces behavioral variance, improves rule compliance, saves iterations. Cost: input tokens boosted with each turn.

OpenCode plays the light harness: minimal tooling, short system, let the model infer. The bet: fewer pre-fabricated anchors, more flexibility, lower bill. Cost: more variance, more risk of behavioral deviation when the task deviates from the happy path.

Under the hood

On pricing: at ~$3/M input tokens for Claude, 33k tokens per turn × N conversation turns, that's several cents per session that the user never sees. On the KV cache: Claude Code uses Anthropic's prompt caching—the prefix is cached and billed ~10% after the first time. That's the real economic lever. OpenCode, being shorter, doesn't cache much.

The "fair" comparison is not raw tokens but effective billed tokens (with cache) × output quality × number of retries. Systima measures only one of the three. The actual billing difference is probably closer to 2× than 5×, but remains significant.

Scenarios

  • Convergence (50%): Claude Code lightens its preamble, OpenCode adds examples; both converge to 10-15k tokens.
  • Assumed Divergence (35%): Claude Code remains positioned as "heavy harness, high obedience" (enterprise), OpenCode remains "light harness, user control" (independent).
  • New Pattern (15%): Emergence of a modular harness (conditional loading of tools based on the prompt).

So what

The harness becomes a product differentiator. Comparing two agent CLIs is comparing two theses on what the model should know before reading the user. For a builder: measure your own preamble and its effective cost with cache. For a leader: perceived latency and monthly billing depend on an architectural choice that no one mentions in the commercial demo.

To watch

The publication by Anthropic or OpenAI of a "harness reference"; the emergence of tools that measure the real overhead per CLI; the appearance of official "diet" modes for Claude Code or Cursor.

Resources, try it

Article produced by artificial intelligence, reviewed under human editorial control.

Our newsroom
Your Linux servers, as a desktop.
TermalOSSponsored
Ops, reimagined

Your Linux servers, as a desktop.

Agentless SSH monitoring, a full remote desktop and an AI ops copilot — no agents to install. Everything stays on your machine.

SSHMonitoringAI Ops
Get early access
Was this article helpful?

5 people liked this article

Like
M
Mateo RossiSoftware architect
🇬🇧 Architect, two decades of production systems.
Share:
Comments (7)

Sign in to join the discussion.

Alex_LDN 13 Jul 2026 · 05:56

Est-ce que ces 33k tokens en plus améliorent vraiment la précision ? Ou c'est juste un surcoût ?

1
TechSavvy47 13 Jul 2026 · 05:51

Comment ça impacte le budget des petites entreprises ?

GreenThumb 13 Jul 2026 · 05:37

Est-ce que cette surcharge va rendre les modèles moins adaptés aux gros projets ? Plus de tokens, ça veut dire plus de ressources nécessaires.

1
TravelTom 13 Jul 2026 · 05:14

Avec 33k tokens, Claude Code consomme-t-il vraiment plus d'énergie qu'OpenCode ?

1
BookWorm88 13 Jul 2026 · 07:32

Est-ce que Claude Code est vraiment plus énergivore qu'OpenCode ?

SkepticSam 13 Jul 2026 · 04:59

Est-ce que ces différences de tokens impactent vraiment la réactivité des modèles en temps réel ?

1
J.P.R. 13 Jul 2026 · 04:40

Intéressant, mais comment ça se répercute sur l'usage concret ?

LitLover42 13 Jul 2026 · 04:07

Comment ça impacte la performance et le prix final ?

1
Story timeline

Harness Ops : post-mortems et bench des agents en prod

  1. 1Migrating a production agent to GPT-5.6: 2.2× faster, 27% cheaper - the real post-mortem13/07/2026
  2. 233k vs 7k tokens: what the comparative overhead reveals about Claude Code and OpenCode13/07/2026
  3. 3Google Genkit v.Agents: detached turns and human-in-the-loop are now in preview14/07/2026
  4. 4Three loops in a trench coat: the real anatomy of an agent14/07/2026
  5. 5« Loop engineering »: new discipline or cron job rebranding?15/07/2026
  6. 6Benchmark Stripe: agents connect APIs, they do not validate them15/07/2026
  7. 7The archaeologist and his copilot: Malykhin disciplines the LLM on Java 1.516/07/2026
  8. 8QCon AI Boston: "prompts → platforms, harnesses, evals" - the field validates the thesis17/07/2026
  9. 9Beyond grep: the thesis of the rich-context AI coding harness20/07/2026
  10. 10InAgent achieves 90.2% on OSWorld: the computer-use agent gap narrows for the Chinese stack03/08/2026
  11. 11Wallfacer: a terminal session manager built for Claude Code and multi-agent workflows06/08/2026
  12. 12Claude Code inter-session messaging ships - agent-to-agent coordination gets its first native primitive08/08/2026
  13. 13AI agent Skills are getting standardized: Codex and VS Code are in, Claude is not yet10/08/2026
  14. 14AI agents lie, cheat, and steal—and it's slowing adoption faster than any benchmark can measure.13/08/2026
  15. 15Context engineering: why 300 well-chosen tokens beat 100k noisy ones14/08/2026
  16. 16OneCLI (YC S26) ships an OSS sandboxed agent harness - the team-scale answer to Claude Code19/08/2026
  17. 17Cursor Origin and the Agent Version Control Problem: Why Git Was Never Designed for This25/08/2026
Your Linux servers, as a desktop.
TermalOSSponsored
Ops, reimagined

Your Linux servers, as a desktop.

Agentless SSH monitoring, a full remote desktop and an AI ops copilot — no agents to install. Everything stays on your machine.

Get early access
Topics
Explore
Information