Local Dual-GPU Benchmark: Comparing Three Flash Models on Coding Tasks
This article presents a local dual-GPU benchmark comparing three Flash-class lightweight models on programming tasks. The evaluation uses fully automated scoring across tool calling, bug fixing, and end-to-end application builds, tracking total time, output tokens, interaction turns, and prompt cache hit rate. Results show three distinct behavior patterns—concise, plan-driven, and deep-reasoning—each suited to different use cases. A selection framework based on scenarios rather than benchmark scores is included.
1. Why Lightweight Models on a Local Dual-GPU Setup Deserve a Separate Evaluation
Over the past two years, research on edge and local inference has mostly focused on whether a model can run at all. The question has now shifted to how usable it is once it runs. High-density local compute, represented by dual-GPU desktop inference platforms, has made a class of lightweight models named “Flash” capable of handling real engineering tasks. These models share a few traits: low inference cost, relatively high context efficiency, and suitability for long-running unattended operation. Whether they are reliable on complex tasks, however, must be measured with engineering metrics rather than subjective impressions.
It is worth stressing that quantization is not merely a way to shrink model size. It changes three things at once: VRAM usage and the context length a model can support, the number of tokens generated per unit of time, and model stability on long-chain tasks. For this reason, conclusions about model capability that ignore the quantization scheme are often not reproducible.
2. Evaluation Design: Breaking “Coding Ability” into Automatically Scored Metrics
A credible side-by-side evaluation must first avoid the subjective drift caused by using a large model as a judge. This benchmark used fully automated machine scoring throughout, with evaluation tasks in three parts:
- Tool calling: the model acts as an agent that invokes 21 native tools covering file read/write, command execution, retrieval, test execution, and other typical steps;
- Bug fixing: 17 bug-fix cases written in a functional programming language, testing the ability to locate defects and make minimal changes;
- End-to-end build: building a complete web application with 19 checkpoints, including API connectivity, data validation, error handling, and basic test cases.
Four core variables were recorded, as they explain model behavior better than “total time” alone:
- Total elapsed time: wall-clock time to complete the task loop;
- Total output tokens: reflects how verbose the model’s output is;
- Number of interaction turns: reflects planning granularity and trial-and-error count;
- Prompt cache hit rate: directly determines the compute cost of repeated context.
The evaluation main loop can be abstracted as:
for task in tasks: # bug fixing / app buildsession = AgentSession(tools=NATIVE_TOOLS)while not session.done():action = session.model.next_action()result = session.tools.call(action) # 21 native toolssession.append(result) # triggers prefix cache reusescore = checker.run(task.checkpoints) # pure machine scoringmetrics.append((task.id, session.elapsed,session.output_tokens,session.turns,session.cache_hit_rate,score))
3. Benchmark Results: Three Distinct “Working Personalities”
All three models passed every test, but their paths differed significantly, falling into three typical working modes.
Mode 1: Extremely Concise (4-bit integer quantization)
Under this configuration, the model’s output was highly restrained. Building the application generated only about 20,000 tokens, with a total elapsed time of about 18.4 minutes—the fastest of the three. Notably, the underlying inference engine’s per-token speed was not the best; the speed advantage came entirely from “saying less and reworking less.” This suggests that end-to-end efficiency is often determined by output verbosity rather than raw throughput.
Mode 2: Plan-Driven (low-precision floating-point quantization)
This mode had the fewest interaction turns, about 77, tending to output a complete plan first and then execute it step by step, making the process highly readable. Its prompt cache hit rate reached about 98%, so repeated context produced almost no extra computation, giving the lowest per-task cost. This mode is well suited to long-running autonomous background jobs such as batch bug fixing, dependency upgrades, and regression checks.
Mode 3: Deep-Reasoning (4-bit floating-point quantization)
Every interaction turn came with extensive internal reasoning. Total elapsed time was the longest, about 27.6 minutes, but the resulting code had the highest level of standardization, and the model added 18 extra test cases, delivering the best engineering quality. The cost is compute and time; the payoff is maintainability and regression safety.
The three can be summarized as follows:
| Dimension | Concise | Plan-Driven | Deep-Reasoning |
|---|---|---|---|
| Total time | Shortest | Medium | Longest |
| Output volume | Very low | Medium | Relatively high |
| Interaction turns | Medium | Fewest | Most |
| Cache hit | Average | Very high | Average |
| Test coverage | Basic | Adequate | Most complete |
4. Selection Framework: Decide by Scenario, Not by Benchmark Score
- When you need a runnable prototype fastest: prioritize the concise configuration, trading minimal output cost for feedback speed;
- For daily development and cost-sensitive long tasks: prioritize the plan-driven configuration, where high cache reuse delivers a stable low per-task cost;
- For deliveries with hard requirements on standards and test coverage: prioritize the deep-reasoning configuration, spending the compute budget on quality.
When deploying in the cloud, these capabilities are typically handled by general-purpose services: container platforms handle elastic scaling of inference services, object storage holds evaluation artifacts and corpora, message queues decouple long tasks, and logging plus monitoring and alerting are used to observe turns, cache hits, and failure rates.
5. Conclusion and Suggestions for Further Validation
The most important takeaway from this benchmark is that differences in the coding ability of lightweight models show up more in “behavior strategy” than in “knowledge reserves.” Future work should expand the sample to cover multiple tech stacks, repeated runs, and different combinations of quantization precision, and should add metrics such as prompt prefix stability, tool-call failure rate, and regression test pass rate to form a reusable local evaluation baseline.
