a builder's codex
codex · operators · Tom Tunguz · ins_tunguz-harness-margin-cost

The right harness cuts AI inference cost 71% with no accuracy loss; the moat is customer data, not engineering

By Tom Tunguz · General Partner, Theory Ventures · 2026-09-17 · essay · The Harness Margin Opportunity

Tier B · TL;DR
The right harness cuts AI inference cost 71% with no accuracy loss; the moat is customer data, not engineering

Claim

A well-engineered harness cuts the cost of the same AI result by 71% without a loss of accuracy. The competitive advantage is not in building the routing logic but in the customer usage data that teaches the harness which tasks need expensive models.

Mechanism

Harnesses combine deterministic code with selective model routing, reserving frontier models only for the subset of tasks that genuinely require them. For tasks where a cheaper model produces equivalent quality, the harness routes there automatically. The routing decisions are not made by the harness builder upfront. They are learned by watching thousands of real customer interactions and measuring quality on both paths. That accumulated observational data is the moat: a competitor who builds the same routing logic from scratch cannot replicate it without the same volume of live usage.

Conditions

Holds when: the AI product processes enough tasks at sufficient volume to classify reliably which require expensive models and which do not. The team can instrument quality measurement at the task level.

Fails when: tasks are too heterogeneous to classify, or volume is too low to learn the distribution. Early-stage products with sparse usage data cannot build confident routing.

Evidence

Tunguz cites a UC Berkeley study finding no statistically significant quality differences across 42 harness comparisons for the same underlying models, while GPT-5.6 Sol costs 71% less on Pi than on Claude Code. He illustrates the margin impact with a $250k contract scenario: a harness-optimized company reaches 75% gross margins versus 38% for a company calling the frontier model directly, recovering its sales cost in 10 months rather than 19. The study framing is his: "The right harness cuts the cost of the same result by 71% without a loss of accuracy."

"The right harness cuts the cost of the same result by 71% without a loss of accuracy."

The essential components he identifies are: deep customer understanding, relevant quality metrics, and automated hill-climbing processes that continuously improve routing thresholds.

Signals

Counter-evidence

The 71% figure reflects harness overhead comparison (Pi vs. Claude Code for the same model) rather than the full savings from routing cheaper models to simpler tasks. The actual savings from intelligent model routing depend on the task distribution, not just the harness infrastructure. Early-stage teams often lack the usage volume needed to train reliable classifiers. Building and maintaining quality evaluation systems is itself a non-trivial engineering investment.

Cross-references

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