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
| Item | Details |
|---|---|
| Environment | Windows 11, Claude Code 2.1.330, headless mode |
| Models | Opus 5.5 (high), Fable 5.2 (high), Sonnet |
| RTK | 1.2.1 open-source edition (Apache-2.0), official release, checksum verified, project-scoped hook |
| context-mode | 2.2.2 (Elastic License 2.0), project-scoped plugin |
| Workload | 6 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 |
| Repetitions | 3 runs per model and condition, run order rotated each round |
| Metrics | Total input tokens (input + cache write + cache read), API-equivalent cost, turns |
| Quality check | 16 hidden tests Claude could not see, 4 deliverables, a log-summary answer key |
Results by model
| Model | Condition | Total input tokens | Cost (API-equivalent) | Turns |
|---|---|---|---|---|
| Opus 5.5 | Baseline | 2.91M | $8.08 | 51 |
| Opus 5.5 | RTK | 3.27M | $8.40 | 58 |
| Opus 5.5 | context-mode | 2.61M | $7.70 | 58 |
| Fable 5.2 | Baseline | 2.14M | $13.60 | 50 |
| Fable 5.2 | RTK | 1.60M | $12.40 | 36 |
| Fable 5.2 | context-mode | 1.73M | $14.39 | 49 |
| Sonnet | Baseline | 1.41M | $2.30 | 24 |
| Sonnet | RTK | 1.53M | $2.37 | 34 |
| Sonnet | context-mode | 1.58M | $2.42 | 43 |
Run-to-run spread
| Model | Baseline | RTK | context-mode |
|---|---|---|---|
| Opus 5.5 | 2.41M–3.62M | 2.46M–3.86M | 2.44M–2.76M |
| Fable 5.2 | 1.52M–2.64M | 1.48M–1.84M | 1.61M–1.87M |
| Sonnet | 1.30M–1.56M | 1.33M–1.69M | 1.35M–1.97M |
How to read these numbers
- Fable + RTK (−25% tokens) is not an RTK effect. Cost fell only 9%, and RTK’s own
rtk gainlog 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 unittestoutput 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)
| Task | Baseline | RTK | context-mode |
|---|---|---|---|
| Summarize 4 files (2 runs) | 170K | 169K | 393K |
| Count errors in a 3MB log (2) | 242K | 242K | 273K |
| Fix 6 bugs (3) | 221K | 242K | 222K |
| Build 3 features (3) | 368K | 320K | 393K |
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.
/modeland/effort: lighter models or lower effort for simple work./contextto see what fills the window;/mcpto disable unused servers./usagerecommendations; pressfwhen 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.mdunder ~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.

Leave a Reply