TokenSave logo TokenSave

TokenSave Data · Dataset

What the Claude Code harness costs: plugins, subagents, plan mode, skills and hooks

Most of what Claude Code sends to the model is its own harness, not your task. The same small coding task used a median 78,723 input tokens in a default setup and 8,214 with a one-line system prompt and two tools (−90%); every game still worked. Delegating the task to a subagent cost 128% more, and installed plugins added cost even when none was used.

Measured 2026-10-19 · Claude Code (Opus 5.5) · 7 settings · 5 runs each · License CC BY 4.0 · Related: Claude Code vs Codex: startup tokens

DOI 10.5281/zenodo.23465633 · Also on Hugging Face · Kaggle · GitHub

Median input tokens and API cost for the same coding task under seven Claude Code settings, 5 runs each

Key findings

Tokens, cost and time by setting

Median of 5 runs per setting. Input tokens include cache reads and cache writes. Cost is the API list-price estimate Claude Code reports; subscription plans are not billed per token. Every run is in the CSV.

SettingInput tokens (median)vs defaultof which cache readsOutput tokensAPI cost (median)vs defaultTimeGame size (chars)Game works
Default78,723–51,7727,364$0.37–61 s13,3755 / 5
Safe mode (no personal plugins)48,063−39%39,5104,718$0.17−54%38 s7,9215 / 5
Minimal harness (1-line system prompt, Write and Read)8,214−90%3,4394,676$0.13−64%45 s7,9045 / 5
+ PostToolUse hook121,553+54%94,4317,393$0.39+3%65 s12,0135 / 5
+ one project skill158,393+101%131,0686,740$0.38+2%55 s11,2405 / 5
Plan mode, then build245,562+212%214,9839,013$0.47+26%84 s12,0825 / 5
Delegated to a subagent534,125+578%465,92815,486$0.85+128%178 s17,9005 / 5

What this means for our other Claude Code datasets

Our earlier Claude Code measurements, such as the 35,771 input tokens for a one-word reply, were made on this same laptop with the same 35 plugins installed. Comparisons inside each dataset (file sizes, languages, effort levels) are unaffected, but the absolute Claude Code numbers include the cost of those plugins, so a clean installation will start lower.

The settings

Method

Limitations

How to cite

Free to use, quote and republish with attribution under CC BY 4.0. Please link to this page.

TokenSave (2026). What the Claude Code harness costs: plugins, subagents, plan mode, skills and hooks on the same task [Data set]. Zenodo. https://doi.org/10.5281/zenodo.23465633

Embed the chart

Related

Questions or corrections: contact@jonhisking.com