ProBackend
News & Analysis
1 week ago7 min read

Local AI Coding Agents: Similar Scores, Different Runtime

Local AI Coding Agents: Similar Scores, Different Runtime

A 10-task coding suite compares three local model setups on solve counts, hidden-test results, and elapsed time.

Similar benchmark scores, very different wait times

The scorecard looks like a tie until you look at the clock. Qwen3.8 Flash Next on an M4 Max Mac Studio and Swift 1.5 on a Radeon AI PRO R9700 each solved an average of 5.7 tasks out of 10. But a full run took 91 minutes for Flash and 22 minutes for Swift. MiniCPM finished in 9 minutes and solved 3.3 tasks on average.

For interactive coding, that gap matters. A developer waiting through each inspect-edit-test cycle may care as much about pace as the final pass rate. These figures compare complete configurations, not a controlled hardware swap: models, runtimes, and quantized weights differ.

What the coding benchmark measures

The suite uses 10 small Python repositories, each with documentation, visible tests, and realistic implementation noise. Each ticket-style prompt describes a symptom without naming the file to change. An agent can inspect and edit the repository, run commands in a sandbox copy, and end its attempt. Hidden pytest tests are added after it stops. A task counts as solved only if every hidden test passes.

The tasks cover bug hunts, configuration, concurrency, dependency resolution, parsing, migrations, refactoring, and other maintenance work. Each model ran the same 10 tasks three times, with thinking disabled and the same sampling settings. The procedure measures an end-to-end agent loop, not token generation in isolation.

Setup. Apple M4 Max with 128 GB unified memory, tested October 2026. AMD Radeon AI PRO R9700 (32 GB GDDR6); desktop AM5 platform, DDR5-6000, Windows 11. Tested October 2026. The agent loop and test sandbox ran on the Apple machine for every model; only inference ran on the R9700.

Tested model and setupSolved per runMean hidden-test passMean time for 10 tasksMedian time to solve a taskMean completion tokens
Qwen3.8 Flash Next, M4 Max6, 5, 6 (5.7)86.1%91 min299 s73,962
Swift 1.5, R97005, 6, 6 (5.7)89.8%22 min73 s59,996
MiniCPM-V-4.7, R97004, 3, 3 (3.3)80.9%9 min32 s49,878

Flash and Swift share the same average solve count here. Swift’s mean hidden-test pass rate was 89.8%, compared with 86.1% for Flash. Three runs are a thin basis for a ranking; a one-task swing is within what this test can reveal. Treat the result as a practical signal, not a settled league table. MiniCPM solved fewer tasks on average, but its runs were shorter.

The model identities and published descriptions can be checked against the Qwen3.8 Flash Next model card, Swift 1.5 model card, and MiniCPM-V-4.7 model card. The measured results and task-level comparisons below come from the benchmark described in this article. No public run log or independently verifiable result artifact is available, so these figures should be read as reported measurements, not as results confirmed by those model cards.

Source references (sourceRefs). Benchmark methodology, setup, aggregate results, task-level results, and visible-test edit counts: author-provided benchmark records summarized in this article; no public run log or result artifact is available. Model descriptions: the three model cards linked above. The model cards do not substantiate the reported benchmark measurements.

Why wall time changes the choice

Flash averaged 91 minutes for all 10 tasks, while Swift averaged 22. That is a little over four times as long. Median time to solve a task was 299 seconds for Flash and 73 seconds for Swift. MiniCPM’s median was 32 seconds, and its full-suite average was 9 minutes. These are reported measurements from the three runs per model described above.

Completion tokens show the same broad ordering: 73,962 per run for Flash, 59,996 for Swift, and 49,878 for MiniCPM. If you’re working in a live tool loop, waiting for a usable patch can break the thread of an investigation. On these runs, Swift’s tested setup looks better suited to a short feedback cycle.

That is not evidence that every R9700 workload will be faster, nor that the graphics card alone caused the difference. The model, quantization, inference software, and machine all change together. There’s no clean hardware-only conclusion to extract from this comparison.

Queued work changes the tradeoff. If a developer submits a batch and checks it later, immediate interaction time may matter less. Flash’s 5.7 solved tasks per run and 86.1% mean hidden-test pass rate remain competitive with Swift on this suite. But the experiment did not measure queue capacity, concurrent jobs, energy use, or cost. It can’t tell us which setup is cheaper or more efficient for unattended work.

Task-level results tell a more specific story

Flash matched Swift’s 100% mean hidden-test pass on several tasks: configuration layering, dispatch ordering, event batching, and the policy-symptom root-cause task. Swift led on dependency resolution, scoring 94% against Flash’s 56% on resolver-cycle. Parser recovery was closer, at 61% for Swift and 58% for Flash. These task-level percentages are reported results from the same three-run benchmark; the model cards do not document them, and no public task-level run data is available to verify them independently.

Those percentages are average hidden-test pass rates across three runs. They aren’t odds that a future attempt will pass. Still, they show why the aggregate score can conceal a useful distinction. A team that often resolves dependency cycles may care more about that gap than the overall average. A team doing configuration or event-processing work may find the represented tasks a closer match.

Ten small repositories can’t stand in for an organization’s codebase. Before choosing a setup, replay representative internal coding-agent tasks and use the same success criteria you’d use for real work. That’s more informative than treating this small suite as a universal verdict.

Caveats for interpreting the comparison

These are different models and builds. The comparison is between complete configurations, not between two machines running one identical model. Isolating hardware effects would require a same-model, same-quantization test.

There were three runs per model on one suite. Individual task results can move between runs, and these repositories are much smaller than most production codebases. The benchmark also doesn’t penalize edits to visible tests. Flash edited visible tests on 5, 2, and 3 tasks across its runs; Swift did so on 4, 3, and 2. Those edits didn’t decide the score, because hidden tests determine whether a task is solved. Even so, visible-test editing is behavior worth inspecting when you evaluate an agent for real work.

Choosing a setup for coding work

Start with the work pattern, not a hardware slogan. For an interactive loop, measure wall time on tasks that resemble your own and notice whether the wait disrupts your concentration or iteration rhythm. In this test, Swift reached the same average solve count as Flash much sooner.

For queued or overnight work, Flash held up well on aggregate quality in these runs, although it used more time and completion tokens. That may make it worth testing for your workload, but the measurements don’t establish a universal preference. Model behavior, quantization, runtime, machine, and task mix all matter. Before choosing a setup, replay representative internal coding-agent tasks and check both successful outcomes and the time it takes to get them.

Related reading in this series: How to Deploy an AI Model for Local Agents: M4 Max or Radeon?; AI Model Local Deployment on Apple Silicon: October 2026 Cohort Leaderboard Across Six Models; Local AI Model Deployment on the Radeon AI PRO R9700: Speed and Tradeoffs; Navigating AI Model Local Deployment: What Two MiniCPM Runs Can and Can't Tell Us.

Qwen3.8 Flash Next model card · Swift 1.5 model card · MiniCPM-V-4.7 model card

Disclaimer. These are measurements from two machines, their stated server builds, and one test suite on the stated date. Results vary with hardware, software version, settings, and load. They are not a general ranking or a recommendation.

similar benchmark scores, very different wait timessimilar benchmark scores, very different wait times

similar benchmark scores, very different wait timessimilar benchmark scores, very different wait times

similar benchmark scores, very different wait timessimilar benchmark scores, very different wait times

similar benchmark scores, very different wait timessimilar benchmark scores, very different wait times