Claude Code Token Savings Tested: RTK vs context-mode on Opus 5.5, Fable 5.2 and Sonnet

Claude Code token add-on results by model: Opus 5.5, Fable 5.2, Sonnet

Written by

in

RTK and context-mode are two widely discussed add-ons for cutting Claude Code token usage. This benchmark ran the same multi-task coding session with no add-on (baseline), with RTK, and with context-mode on three models: Opus 5.5 and Fable 5.2 at high effort, plus Sonnet. That is 27 sessions in total, all measured on November 23, 2026.

Result: neither add-on produced a consistent reduction across the three models. Which add-on used less flipped from model to model, and the differences were smaller than the run-to-run spread of the baseline itself. Output quality was identical in all 27 sessions.

Test setup

ItemDetails
EnvironmentWindows 11, Claude Code 2.1.330, headless mode
ModelsOpus 5.5 (high), Fable 5.2 (high), Sonnet
RTK1.2.1 open-source edition (Apache-2.0), official release, checksum verified, project-scoped hook
context-mode2.2.2 (Elastic License 2.0), project-scoped plugin
Workload6 chained tasks in one conversation: build 3 features from a spec, add an order module, write a data report, summarize a 3MB log, refactor, write a README
Repetitions3 runs per model and condition, run order rotated each round
MetricsTotal input tokens (input + cache write + cache read), API-equivalent cost, turns
Quality check16 hidden tests Claude could not see, 4 deliverables, a log-summary answer key

Results by model

ModelConditionTotal input tokensCost (API-equivalent)Turns
Opus 5.5Baseline2.91M$8.0851
Opus 5.5RTK3.27M$8.4058
Opus 5.5context-mode2.61M$7.7058
Fable 5.2Baseline2.14M$13.6050
Fable 5.2RTK1.60M$12.4036
Fable 5.2context-mode1.73M$14.3949
SonnetBaseline1.41M$2.3024
SonnetRTK1.53M$2.3734
Sonnetcontext-mode1.58M$2.4243
Averages of 3 sessions each. All 27 sessions passed 16/16 hidden tests.

Run-to-run spread

ModelBaselineRTKcontext-mode
Opus 5.52.41M–3.62M2.46M–3.86M2.44M–2.76M
Fable 5.21.52M–2.64M1.48M–1.84M1.61M–1.87M
Sonnet1.30M–1.56M1.33M–1.69M1.35M–1.97M
Min–max total input tokens across 3 runs. The ranges overlap, so 3-run averages can’t separate the tools.

How to read these numbers

  • Fable + RTK (−25% tokens) is not an RTK effect. Cost fell only 9%, and RTK’s own rtk gain log shows about 4,200 tokens trimmed across every run combined, far less than the 540K gap. That condition also averaged 36 turns versus 50 for baseline, and one baseline run alone dropped to 1.52M.
  • Fewer tokens can still cost more. Fable with context-mode used 19% fewer total tokens but cost 6% more. Total tokens are dominated by cheap cache reads, so a shift toward cache writes or output/reasoning tokens can raise the bill.
  • RTK barely engaged by design. It filters shell command output; Claude Code read and searched files with its built-in Read, Grep and Glob tools, and python -m unittest output isn’t an RTK filter target. That reflects this workload, not a defect in RTK.
  • The biggest lever here was the model. At identical 16/16 quality, a session cost $2.30 on Sonnet, $8.08 on Opus and $13.60 on Fable, a much larger gap than the roughly ±10% between add-ons. This holds for a mid-difficulty, test-verified workload.

Short single tasks (Sonnet)

TaskBaselineRTKcontext-mode
Summarize 4 files (2 runs)170K169K393K
Count errors in a 3MB log (2)242K242K273K
Fix 6 bugs (3)221K242K222K
Build 3 features (3)368K320K393K
The 4-file task has tiny outputs, so context-mode’s fixed overhead dominates; it targets outputs over 10KB.

An independent benchmark points the same way: Quesma ran 1,740 Terminal-Bench 2.1 attempts in September 2026 and found RTK lowered Claude Code (Fable 5.0) total cost by 5% but raised the per-task average by 1%, with no clear difference from zero. Read the Quesma report.

Built-in controls documented by Anthropic

Not benchmarked here; listed from the official cost documentation.

  • /model and /effort: lighter models or lower effort for simple work.
  • /context to see what fills the window; /mcp to disable unused servers.
  • /usage recommendations; press f when the footer shows “f to fix” (v2.1.305+).
  • MCP tool definitions load on demand by default (ENABLE_TOOL_SEARCH).
  • Hooks to trim long test/log output (the docs’ example keeps the last 100 lines).
  • Keep CLAUDE.md under ~200 lines; use # Compact instructions.
  • Agent teams use about 7x the tokens in plan mode; keep teammates on Sonnet and teams small.

Source: Claude Code docs, Manage costs effectively.

Limitations

  • Three runs per model and condition show direction, not statistical significance.
  • One Windows 11 machine and RTK’s open-source edition; macOS, Linux or RTK’s commercial build may differ.
  • Sessions ran about 1.5M–3.9M tokens. Multi-hour sessions on large repositories with huge build logs, where these tools aim to help, were not tested.
  • Costs are API-equivalent figures from the usage output, not subscription allowance consumption.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *