a builder's codex
codex · operators · Tomasz Tunguz · ins_tunguz-harness-benchmark-delta

The AI harness now moves coding benchmarks more than the model does

By Tomasz Tunguz · General Partner, Theory Ventures · 2026-07-28 · essay · Aftermarket Harnesses

Tier B · TL;DR
The AI harness now moves coding benchmarks more than the model does

Claim

Identical AI models produce 25 or more percentage points of performance difference depending on which harness runs them, making the harness the faster-moving variable in AI coding capability.

Mechanism

The harness controls three functions: which context gets selected for each prompt, which information gets retrieved, and how aggressively prompt caching is applied. Input tokens represent 86 to 98 percent of total LLM costs across OpenRouter, so a harness with strong cache discipline reduces per-task cost by 40 to 80 percent while simultaneously improving output quality by shaping what the model sees. These two effects compound: better context selection improves model output; cache efficiency lowers the cost of running more agents in parallel. The model itself is held constant.

Conditions

Holds when: multiple mature harnesses run the same underlying model and benchmark data covers real production tasks at scale. Applies most directly to coding tasks with long-horizon agent runs.

Fails when: models differ substantially in capability at a task (e.g. reasoning vs. instruction following). Also fails in short, single-turn queries where context management provides little advantage over the raw model.

Evidence

Endor Labs' Agent Security League benchmark ran the same models across multiple harnesses. GPT-5.5 scored 61.5% functional correctness in Codex but 87.2% in Cursor, a 25.7-point improvement from the harness alone. Claude Opus 4.7 scored 87.2% in Claude Code and 91.1% in Cursor. Claude Code reports approximately 96% cache hit rates in production. First-party co-design enables 90% savings through byte-identical sub-agent forking.

"The harness has shed its critique as a model wrapper; it's a jockey pushing AI performance further than the breeder imagined."

Signals

Counter-evidence

Drew Breunig's June 2026 research notes that frontier labs are beginning to bake harness preferences into model weights, meaning model providers may recapture the harness layer as a competitive advantage. If that succeeds, harness-level optimization becomes a temporary moat. See Frontier labs are baking native harness preferences into model weights, not layering them on top.

Cross-references

Open the interactive view → View original source → Markdown source →