Local hasn't caught up on any coding work measured so far.
Mahoraga is a long-term study of local against cloud AI on the same real commits. Each attempt is graded by the repository's own tests, and every number here is recomputed from committed data.
Real commits resolved
Local pays above 95% at the measured $0.15 a cloud task
qwen3.5, 9.7B, 32k contextFits a 16 GB laptop
10%9 of 92
qwen3.5, 9.7B, 131k contextFits a 16 GB laptop
30%28 of 92
qwen3.6, 35B, 131k contextNeeds 24 GB or more
34%31 of 92
qwen3.5, 9.7B, 131k contextRun on the 16 GB laptop itself
36%17 of 47
0%50%100%
The first three rows are one setting each on the same 92 commits from more-itertools, click and attrs, run on a Mac Studio with the laptop's exact model file for qwen3.5. The last row is the laptop's own run on the 47 of those commits from more-itertools and attrs, and on the same 47 the Studio resolved 18.12
One row for each kind of work, with both sides on the same tasks.
Local has caught up with a cloud tier when the cloud's lead on the same tasks stays under 10 points across its whole 95% interval. No row has crossed yet.
Work
Local, best measured
Cloud, same tasks
Caught up?
At today's prices
Real commits from attrs and more-itertools (47 tasks)
aider and qwen3.5 (9.7B) on a 16 GB MacBook: 17 of 47, 36% (95% interval 24% to 50%)
Claude Code and Opus 5.5: 47 of 47, at $0.21 a taskSonnet 5.5: 43 of 47, at $0.07 a taskHaiku 5.5: 47 of 47, at $0.01 a task
Opus 5.5: behind by 64 points (50 to 76)Sonnet 5.5: behind by 55 points (38 to 69)Haiku 5.5: behind by 64 points (50 to 76)
Stay on the cloud. To break even at what each tier spent, local needs 95% against Opus, 98% against Sonnet and 100% against Haiku.
The 19 of those committed after June 2026, past Opus 5.5's stated training cutoff
3 of 19
Opus 5.5: 19 of 19Sonnet 5.5: 18 of 19Haiku 5.5: 19 of 19
Opus 5.5: behind by 84 points (53 to 94)Sonnet 5.5: behind by 79 points (49 to 91)Haiku 5.5: behind by 84 points (53 to 94)
Not priced on its own
The same 47, with Claude Code driving the local model too
Claude Code and qwen3.5 (9.7B, the laptop's model file) on a 64 GB Mac Studio: 34 of 47, 72% (95% interval 58% to 83%)
Opus 5.5: 47 of 47Sonnet 5.5: 43 of 47Haiku 5.5: 47 of 47
Opus 5.5: behind by 28 points (17 to 42)Sonnet 5.5: not settled at 19 points (5 to 34)Haiku 5.5: behind by 28 points (17 to 42)
Not priced on its own
Real commits from attrs, more-itertools and click (92 tasks)
aider and qwen3.6 (35B) on a 64 GB Mac Studio: 31 of 92, 34% (95% interval 25% to 44%)
Not run yet
No standing until a cloud tier runs these tasks
Stay on the cloud. Local needs 77% at an assumed $0.75 a cloud task.
Being measured now
New commits mined every night, so each new model meets work made after its release.
Coding comes first because a commit grades itself with its tests. Another kind of work joins the map only when it has a check just as mechanical, and real tasks behind it.
Every number in the table is recomputed in CI from the committed attempts. Read the report ↗
Each task is a real commit with the fix taken out.
The agent starts from the code as it stood before the fix, and the commit's own tests decide whether its attempt counts.
Issue 1304: make ichunked match chunked for n=0 and negative n
The fix the bench took out of more_itertools/more.py
@@ -3718,6 +3718,11 @@ def ichunked(iterable, n):
[8, 9, 10, 11]
"""
+ if n is not None and n < 0:
+ raise ValueError('n must be at least 0')
+ if n == 0:
+ return
+
iterator = iter(iterable)
for first in iterator:
rest = islice(iterator, n - 1)
What the agent wrote in its place
@@ -3718,6 +3718,11 @@ def ichunked(iterable, n):
[8, 9, 10, 11]
"""
+ if n < 0:
+ raise ValueError('n must be at least 0')
+ elif n == 0:
+ return
+
iterator = iter(iterable)
for first in iterator:
rest = islice(iterator, n - 1)
Most of the gap was the context window.
On a 64 GB Mac Studio, a 131k window took the laptop's 9.7B model from 9 to 28 of 92 commits, near a 35B model's 31. All three fall well short of the 95% that local needs to pay for itself at the measured $0.15 a cloud task.
2828of 92 commits solved
This is the bench's default window, and when a long file overflows it, Ollama cuts the prompt to fit without returning an error.
Choose a larger window or a larger model to see which commits change.
This is the same model file, given a window big enough for the files it reads.
Compared with qwen3.5 at 32k, 21 commits went from unsolved to solved and 2 went the other way. A paired test gives p below 0.001, so a split this uneven would be rare if the two settings did equally well.
This 35B model needs 24 GB of memory or more, so a 16 GB laptop can't run it.
Compared with qwen3.5 at 131k, 12 commits went from unsolved to solved and 9 went the other way. A paired test gives p = 0.66, so chance alone could produce a split like this.
28 of 92 commits solved. This is the same model file, given a window big enough for the files it reads. Compared with qwen3.5 at 32k, 21 commits went from unsolved to solved and 2 went the other way. A paired test gives p below 0.001, so a split this uneven would be rare if the two settings did equally well.
attrs
click
more-itertools
Point at or tap a square to see its commit and how each setting did on it.
SolvedNot solvedChanged with this settingSquares run by repository and then by commit date, so no outcome decides where one sits.
92 commits from attrs, click and more-itertools, one square each
If you run a local agent, check its context window before you buy more memory. On a 16 GB laptop the larger window is much slower, but the laptop's own run solved about as many of the same commits as the Studio.
Every result is in the log, and so is every correction.
Each entry is dated and links to the attempts it came from. A correction also says what was wrong and what changed.
November 2026
Finding
With the same agent on both sides, local solved 34 of the 47.
Claude Code drove qwen3.5 through Ollama on the Mac Studio, with the laptop's own model file and the cloud run's version, flags and prompt. It resolved 34 of the 47 tasks, where aider with the same model on the same machine resolved 18, so the agent accounts for much of the gap to the cloud. The cloud still leads, by 28 points against Opus and 28 against Haiku, while Sonnet's lead of 19 points is not settled. It is the first standing on the map that isn't "behind", and it isn't a crossing. On the 19 tasks committed after June 2026, local solved 17.
Caught up is now measured by the gap on the same tasks.
Priced at what Haiku 5.5 spent, the break-even line asked local to resolve 100% of the queue, which measured the cloud's price more than local's ability. Each tier is now compared with local on the same tasks, as the gap between their resolve rates with its 95% interval. Local has caught up when the whole interval sits under 10 points, a margin fixed before any new run, and a crossing is printed only after freshly mined tasks confirm it. Local is behind every tier today, by 64 points against Opus, 55 against Sonnet and 64 against Haiku. Even Sonnet against Opus is too close to call on 47 tasks, so the coding row will grow toward about 150. The break-even verdict keeps its own column, as the answer to whether moving work to local pays.
The cheapest cloud tier solved every task as well.
Claude Code ran the laptop's 47 tasks again on Sonnet 5.5 and Haiku 5.5. Haiku resolved all 47 at about $0.01 a task, and Sonnet resolved 43 at $0.07. A cheaper tier makes local's case harder, since each task local takes off Haiku's bill saves less than a cent. Priced at what each tier spent, local would need 95% against Opus, 98% against Sonnet and 100% against Haiku.
The study now asks where local has caught up, one kind of work at a time.
Each kind of work is now a row, with local and cloud measured on the same tasks, and local has caught up on a row when even the low end of its interval clears the break-even line. No row has crossed yet, since on the 47 paired tasks local still needs 95%. The cloud side now includes Sonnet 5.5 and Haiku 5.5 beside Opus 5.5, because local may reach a cheaper tier long before the best one. Coding comes first because a commit grades itself with its tests, and another kind of work joins only with a check just as mechanical.
Each task is now checked against the fix that shipped.
A commit used to become a task when its tests failed without the fix and passed with it. Mining now also grades the real fix like an attempt, so a test the fix itself breaks no longer counts against an agent. Each check can run several times, and a test whose result changes between runs is left out of the grade. Mined again this way, with each check run five times, all 47 published tasks came out the same, so no published result changes.
Measured on the same tasks, the cloud solved every one.
Claude Code running Claude Opus 5.5 resolved 47 of the laptop's 47 tasks, so its rate is at least 92% at 95% confidence. The cloud alone solved 30 of those tasks and the laptop alone solved 0 (McNemar p < 10⁻⁸). On the 19 tasks committed after the model's June 2026 knowledge cutoff it still solved 19, against the laptop's 3. Claude Code can run the tests itself and aider can't, so this compares the two agents as they ship.
Priced at what the cloud spent, local needs 95% to pay.
At API list prices the cloud spent $0.21 a task, and only $0.15 on the tasks the laptop also solved, against $0.24 on the rest. Each task local takes off the bill saves only that $0.15. The laptop would then have to resolve 95% of queued tasks to pay, compared to 77% at the assumed $0.75.
Measured on the laptop itself, the answer is still to stay on cloud.
The 16 GB laptop resolved 17 of 47 outside tasks at 131k (36%), short of the 77% that local needs to pay at $0.75 a cloud task. Only 2 of its failures ran out of time, so the verdict calls the stay decided.
With the clocks fixed, the laptop solves what the Studio solves.
On the 47 tasks both machines ran with one model file at 131k, the laptop solved 17 and the Studio solved 18. A 4 to 5 split of the tasks they disagree on is what chance alone would produce (McNemar p = 1.00), so the laptop reaches the same answers, only slower.
On HumanEval+ the laptop's granite 4.1 passed 132 of 164 tasks and granite 4.2 passed 130. A 20 to 18 split of the tasks they disagree on is what chance alone would produce (McNemar p = 0.87).
Granite 4.2 seemed to answer only 46 of 164 tasks, because its reasoning outran a two-minute client limit. The cascade had also sent 25 of granite 4.1's tasks to Claude. The rerun records every answer's reasoning, escalation and errors, and 0 of its 328 answers came from the cloud.
A clock inside the agent set the laptop's numbers.
On 28 tasks both machines ran with one model file, the laptop solved 8 and the Studio solved 14. The logs showed aider cutting each long request at 10 minutes, so a request now gets the attempt's whole limit.
The laptop's first night at 131k timed out on 26 of 38 attempts, since reading one long prompt takes it over ten minutes. The verdict now refuses to call a stay decided when most failures are timeouts.
A 131k context took the model that fits 16 GB from 9 to 28 of 92 outside tasks. The 35B model that needs 24 GB resolves 31, so the wider window accounts for 19 of the 22 tasks between them.
An agent could read the answer, so its attempt was discarded.
The first opencode attempt ran git show on the commit that held the fix, so every task clone is now rebuilt without it. Aider can't run shell commands, so no aider result was affected.
The same tasks reversed a reading from the day before.
The first Studio comparison gave the two models different tasks and concluded that more memory only made attempts faster. On the same 92 tasks the larger model resolved 31 to the smaller model's 9.
At $0.75 a cloud task, local pays only once it resolves 77% of queued tasks, because each failure costs 3 minutes of triage. On a flat subscription, the engine's answer for most people is that they aren't wasting money.
An interval counts tasks, so the 18 tasks of the first probe leave it between 12% and 51% however often they rerun. The bench therefore grew to three outside repositories.
On 18 of Mahoraga's own commits, aider with qwen3.5 resolved 5, and the tests caught every failed attempt. A median attempt took 8.3 minutes, which is why the engine runs as an overnight queue.
A second pass corrected the first on the same day.
Granite 4.1's HumanEval+ score was logged as 80.49, which no source supports, and the model card says 79.88. The first pass also called the small tier vacated, although releases had continued without a verified upgrade.
The cascade's result replicated, and a stronger judge bought nothing.
An independent rerun of all 164 tasks reached the same 0.921 pass@1. A stronger judge raised fail-recall from 0.688 to 0.784 and cost $6.27 more per thousand tasks without changing quality.
A local-first cascade kept 94% of cloud quality at 24% of the cost.
On 164 HumanEval+ tasks, a free local model went first and a local judge sent what it rejected to the cloud. The cascade reached 0.921 pass@1 at $8.47 per thousand tasks, against 0.976 at $35.97 for cloud alone.
The first three rows ran from 2026-10-06 to 2026-10-14 on a Mac Studio M5 Max, 64 GB (Mac17,14), and the laptop's row ran from 2026-10-28 to 2026-11-01 on a MacBook Pro M4, 16 GB (Mac16,1) with 90 minutes an attempt. Each used aider 0.86.2, diff edit format, blind, with one attempt per task. Rates are task-weighted with a 95% Wilson interval over tasks (agentbench/stats.py), and CI recomputes them with orch bench verify from experiments/agentbench/studio-2026-10.jsonl and experiments/agentbench/laptop-2026-10-131k.jsonl.
The break-even line and the verdicts come from audit/verdict.py. The line is priced at what Claude Code on Claude Opus 5.5 spent, at API list prices, on the tasks the laptop solved (report §4). The verdicts' assumptions are listed in the verdict section, and the plan prices are the dated observations in audit/pricing.json.
Numbers from docs/site/site.json at commit 8c130c0.