Android Development Benchmark Update: Capability vs. Cost in Long-Horizon Tasks
This article breaks down a newly published benchmark for large language models on real-world Android engineering tasks, comparing pass rate, average completion, wall-clock time, and cost per run across three models. It explains what each metric actually measures, why high completion does not equal usability, and how to apply layered dispatch and guardrails to balance quality, latency, and budget. Readers will find a practical checklist for model selection, common pitfalls to avoid, and guidance on building an internal task set with cost per successful task as the core metric.
1. What the Benchmark Update Signals
A mobile development community recently published evaluation results for large language models targeting Android engineering scenarios. Three models with different positioning were assessed on a set of 30 long-horizon engineering tasks covering four real-world categories: application creation, feature development, code migration, and application conversion. This kind of benchmark differs fundamentally from typical algorithm puzzles: it does not measure “can it write one correct function,” but “can it move a vague requirement, without human intervention, to a state that is buildable, runnable, and verifiable.”
The public data shows a clear tiering among the three models. The best-performing one reached a pass rate close to 30%, with an average completion of about 82%, an average time of about 27 hours, and a cost of about $317 per full run. The middle one had a pass rate of about 24%, an average completion of about 82%, a similar time on the order of 27 hours, and a cost above $300. The last one had a pass rate of about 17% and an average completion of about 71%, but its average time was compressed to 12 hours and its cost per run was only about $10.
The most notable point in these numbers is not the ranking but the more than 30x gap between pass rate and cost. It shows that in long-horizon agentic tasks, capability, time, and cost can no longer be optimized simultaneously; model selection is essentially an explicit trade-off decision.
2. What the Four Metrics Actually Measure
To read the benchmark correctly, start with the metric definitions; otherwise it is easy to misread “high completion” as “high usability.”
- Pass Rate: The proportion of tasks judged fully compliant, a binary and strict metric. It requires the build to pass, behavior to match expectations, and all verification scripts to succeed; failure in any one link counts as a fail.
- Average Completion: The average percentage to which tasks were advanced, a continuous metric. It measures “how far it went” but does not guarantee “it went the right way.” A completion of 82% with a pass rate of 24% means many tasks stalled in the final 20% wrap-up.
- Wall-clock Time: The end-to-end duration from task dispatch to termination, including model inference wait, tool calls, and build and test execution. The gap between 27 hours and 12 hours directly determines how many regression rounds fit into one iteration cycle.
- Cost per Run: The model invocation and execution resource cost required to run the entire task set, a direct input for capacity planning.
There is structural tension among the four metrics: longer inference and more rounds of self-reflection usually raise the pass rate, but they also push up time and cost; compressing the budget forces the agent to terminate earlier, and completion and pass rate decline together.
3. The Engineering Trade-off Behind High Completion and Long Runtime
“High completion + long runtime” is a typical deep-search strategy: the agent tends to repeatedly read code, run builds, inspect failure logs, and modify again, trading time for correctness. The payoff is high closed-loop quality; the cost is that long-tail tasks may consume hours or even span days, and cost grows linearly or even super-linearly with the number of rounds.
Conversely, “low time + low cost + medium completion” is a shallow-probing strategy: quickly produce a runnable skeleton and leave the uncertain wrap-up to humans. It suits scenarios with clear requirements and low verification cost, but on tasks requiring global understanding, such as cross-module migration, failures often erupt in clusters.
A more pragmatic engineering approach is not to choose one or the other, but to introduce layered dispatch: first use a low-cost configuration to assess task feasibility and risk, then allocate additional budget to high-value, high-complexity tasks.
# Example: risk-based layered dispatchdef dispatch(task):risk = estimate_risk(task) # estimated from change scope, dependency count, test coverageif risk.level == "low":return run(task, budget=0.05, max_turns=20) # fast laneif risk.level == "mid":return run(task, budget=0.3, max_turns=80)return run(task, budget=1.0, max_turns=300,require=("build_pass", "test_pass")) # deep lane
4. Applying Benchmark Findings to the Development Workflow
The value of the benchmark lies in a transferable methodology, not in specific rankings. Four points matter when putting it into practice.
1. Build your own task set. A general benchmark may not match the distribution of your codebase. Draw 20–30 tasks from a real requirement pool, covering new features, defect fixes, dependency upgrades, and cross-platform migration, and pair them with automatically executable verification scripts to form a meaningful internal baseline.
2. Treat verifiability as a first-class concern. The ceiling of a long-horizon agent is determined by feedback quality. Unstable builds, missing tests, and unreadable logs can all trap the agent in unproductive loops, inflating time and cost. A stable CI pipeline and structured logging service are the most direct levers for improving pass rate.
3. Use guardrails to control long-tail cost. Set round limits, time limits, and budget limits for each task category, and retain intermediate artifacts that support resuming from checkpoints (patches, build caches, test reports) to avoid restarting from scratch after a single failure.
4. Measure cost per task, not unit price. The truly comparable metric is “full cost per successful task” = total spend ÷ number of passed tasks. A rough calculation from the public data puts the low-cost approach at roughly one-third to one-half of the high-cost approach, depending on task distribution, which is more useful for decisions than looking at invocation unit price alone.
5. Selection Checklist and Common Pitfalls
Use the following checklist to score options: whether the task pass rate meets the delivery threshold; whether the average time fits within the iteration cycle; whether the cost per successful task is within budget; whether budget and round guardrails are supported; whether intermediate artifacts can be reused; and whether logs and tracing are convenient for retrospectives.
There are three common pitfalls: first, looking only at pass rate while ignoring the uncontrollable time of long-tail tasks; second, looking only at unit price while ignoring that failed tasks also consume budget; third, treating completion as deliverability, resulting in something that “looks almost done” but cannot be merged for a long time.
In engineering practice that requires elastic execution and cost control, the container platform, object storage, logging service, and monitoring and alerting capabilities provided by Baidu AI Cloud can serve as an underlying choice for hosting agent execution, storing intermediate artifacts, and observing cost consumption.
6. Conclusion
The core lesson of the Android development benchmark is that automation capability for long-horizon engineering tasks has entered a usable range, but capability and cost are not yet decoupled. Teams should build a baseline on their own task set, use cost per successful task as the core metric, and balance pass rate, time, and budget through layered dispatch and guardrail mechanisms, turning evaluation findings into sustainable engineering process improvements.
