What's the best harness?
I ran six models through four harnesses on ten token-hungry DeepSWE tasks to see how much picking the right harness matters.
Which harness does best on each model
Compare harnesses inside each model only. Cheapest harness left, relative cost underneath.
FARISZR · Harness BenchmarkScore and cost matrix by model
Green shading scales inside each model row only (deepest = highest score on that model). Dollar amount is 10-task cost; multiplier is vs. cheapest harness on that model.
FARISZR · Harness BenchmarkCost, speed, and failed spend
Within each model, the harness controls token volume, runtime, and how much spend goes to failed trials.
Cost per task and per solved task
Each model uses its own dollar scale. Per solved task includes failed trial spend.
FARISZR · Harness BenchmarkMedian agent time per task
Agent time only (excludes container setup and test verification). Cheapest harness left.
FARISZR · Harness BenchmarkWhat failed trials cost
Each failed run compared to passing the exact same task on that model (0% = same cost; red + = fails expensively; green − = fails cheaply). Covers 182/214 failures; 32 were on tasks no harness solved on that model. Tap any cell for dollar totals.
FARISZR · Harness BenchmarkUnder the hood: agent behaviour
Prompt overhead, cache hits, step counts, sub-agents, compactions, and tool patterns explain the cost gaps.
Harness prompt size and total tokens per task
Left: system prompt + tool definitions (o200k; Anthropic direct calls unlogged). Right: input + output tokens per task.
FARISZR · Harness BenchmarkInput tokens read from the cache
Share of input tokens served from cache (axis starts at 95%). Cheapest harness left.
FARISZR · Harness BenchmarkMedian steps per task and mean reasoning per step
Dithered bars estimate reasoning tokens from text where counts were omitted; Codex’s Claude counts come from upstream Anthropic responses logged by the API bridge.
FARISZR · Harness BenchmarkSub-agent usage and context compactions
Pooled across all 560 trials. Counts in parentheses show affected trials out of total trials.
FARISZR · Harness BenchmarkMulti-tool steps and recorded tool mix
Share of tool-calling steps issuing 2+ tool calls (Codex counted inside JS code cells).
FARISZR · Harness BenchmarkTasks only one harness solved, or only one failed
Weighted by DeepSWE difficulty (solves = 1 − solve rate, dithered failures = solve rate), averaged over runs. Tap a block or open Table to inspect every task.
FARISZR · Harness BenchmarkModel explorer
Pick a model to inspect every harness, run spread, and task result. Select any task row to compare all four harnesses side by side.
Per harness
Ranked by tasks passed (ties go to the cheaper harness). Pareto frontier = no cheaper harness scores as high.
Three runs of the same setup
Per-task results
Sorted hardest to easiest by DeepSWE baseline solve rate. Click any task row to compare all four harnesses. In 3-run view cells show runs passed (e.g. 2/3); in single-run view they show fail-to-pass tests passed ("regr." broke an existing test).
Methodology
Ten token-hungry DeepSWE v1.1 tasks across six models and four harnesses (560 trials). A trial passes when every fail-to-pass test passes with zero regressions.
Harnesses tested
Models, hosting, and run dates
Selected DeepSWE tasks · reference solve rate
- Runner: Custom Pier fork with OpenCode V2 and Pi adapters, sub-agent token tracking, and sub-agents pinned to the benchmark model.
- Task selection: Fixed set of ten DeepSWE v1.1 tasks selected as the highest-token tasks across languages and difficulty tiers.
- Hosting & context windows: Open-source models (DeepSeek V4.1 Flash, GLM-5.3-Flash) ran on Fireworks behind a corporate LiteLLM proxy; both GPT models (Luna, Sol) and Haiku 5.5 also went through the proxy; Opus 5.5 called Anthropic directly. Both GPT models ran with a 272K context window so neither entered OpenAI's long-context pricing tier; Haiku 5.5's >100K tier applied on long prompts.
- Runs & replacements: DeepSeek, Luna, GLM, and Sol ran 3× per harness; Haiku and Opus ran 1×. Ten OpenCode V2 pre-inference container failures (9 Sol, 1 GLM) use replacement trials.
- Pricing & data: Costs use official public API list rates per request (shortest cache-write lifetime). Direct Anthropic prompts were not logged. Download full JSON dataset.