Mobile AI Coding Benchmark Update: Balancing Efficiency and Cost
This article explains a new benchmark for AI coding in mobile app development. The benchmark tests models on real engineering work, including building apps from scratch, adding features, migrating code, restructuring projects, and making cross-module changes. It covers the four metrics used to measure results (pass rate, average completion, average time, and cost per run), compares two reported results, and offers guidance for teams that want to evaluate AI coding tools beyond a single leaderboard ranking.
Recent results from a benchmark for AI coding in mobile app development have been published. The evaluation focuses on how AI coding models perform on real engineering tasks. These include building an app from scratch, implementing business features, migrating existing code, adjusting app structure, and completing cross-module refactoring.
Unlike traditional tests that only measure code completion accuracy, this type of benchmark is closer to an actual development workflow. Models must do more than generate code. They need to understand the project structure, call build tools, locate runtime errors, modify configuration files, and keep working across multiple rounds of interaction. As a result, the results are more useful for judging whether AI coding systems can be used in real development workflows.
1. The Test Measures More Than Whether a Model Can Write Code
Mobile projects are usually complex. A page that looks simple may involve UI layout, state management, network access, data persistence, permission configuration, resource organization, and building and releasing the app. A model that generates partial code but cannot compile, run, and verify it still does not produce a deliverable result.
Mobile AI coding benchmarks typically evaluate four areas:
Task pass rate
The share of tasks that a model completes and passes acceptance checks under defined conditions. This metric focuses on final results and shows whether work can be delivered.Average completion
Tasks that do not fully pass are scored in stages. Scoring covers whether core features are implemented, whether main screens work, whether edge cases are handled, and whether the project builds successfully. This metric reflects the partial value of a model’s output.Average time
The time from the start of execution to task completion. This includes code generation, environment operations, build waits, error fixing, and repeated attempts.Cost per run
The inference, tool call, and compute costs incurred to complete one set of test tasks. For enterprise development teams, cost determines whether a model can be deployed at scale.
These metrics do not have a simple positive relationship. A model with a higher pass rate may need more debugging rounds. A faster model may leave more defects on complex tasks. A lower-cost option may still require manual work to complete key modules.
2. Public Results Show Clear Capability Tiers
The high-capability model in this round ran as an agent. In a set of 30 long-horizon tasks, it reached a pass rate of about 24.0% and an average completion of 82.3%. The average time per task was about 27.4 hours. One benchmark run cost about US$317.4, or roughly 2,123 RMB.
This model performs well at breaking down complex tasks, making cross-file changes, and debugging continuously. Its high average completion means it often delivers reusable work even when a task does not fully pass. However, longer execution times and higher test costs also show that high-capability models often need more complex toolchains and more verification cycles.
A second model, which emphasizes speed and economy, was tested through a code agent. It reached a pass rate of about 17.3% and an average completion of 71.2%. The average time was about 12.0 hours, and one benchmark run cost about US$9.9, or roughly 66.2 RMB.
These figures show that model selection should not rely on pass rate alone. The second model’s full pass rate is lower than the first model’s, but its execution time is much shorter and its cost is far lower. For prototyping, low-risk feature development, batch generation of test code, and budget-constrained projects, a lower-cost option may offer a better overall return on investment.
Benchmark results only reflect performance on a specific task set, runtime environment, and evaluation rules. They do not equal real productivity in every project. They also do not show that one model is better across all languages, frameworks, and business domains.
3. Why Long-Horizon Tasks Separate Models More Clearly
Short code generation mainly tests syntax understanding and local logical reasoning. Long-horizon tasks are closer to software engineering practice. They typically involve the following steps:
- Reading the project directory and existing code;
- Analyzing requirements and drafting an implementation plan;
- Modifying multiple source and configuration files;
- Running build, test, or launch commands;
- Locating problems from error logs;
- Adjusting the implementation repeatedly;
- Verifying page behavior and data flow;
- Organizing final changes while keeping the project maintainable.
A deviation at any step can cause the final task to fail. For example, a model may draw a page successfully but miss a permission declaration. It may implement a network request without handling asynchronous state or exception branches. It may also change a core dependency so that the project fails on another device or in a different build environment.
Long-horizon tasks test context understanding, task planning, tool use, error recovery, and result verification together. For enterprise users, these abilities often matter more than the quality of a single code generation.
4. How to Read “Average Completion” Correctly
High average completion does not mean code is ready for release. The metric is more useful for estimating how much manual work a model can reduce.
For example, a task may have its main screens, data structures, and basic interactions finished, but still have problems such as:
- Missing input validation;
- Incomplete display of error states;
- Insufficient resource release;
- Limited accessibility support;
- Race conditions in multithreaded or asynchronous scenarios;
- No automated tests;
- Build configuration not suited to a production release.
In practice, teams should divide model output into three levels:
Level one is runnable output. The project builds and launches successfully, and core flows can be demonstrated.
Level two is maintainable output. The code has a clear structure, and error handling, module boundaries, and configuration management are reasonable.
Level three is releasable output. It has passed security review, compatibility testing, performance validation, and human code review.
The benchmark’s average completion mainly reflects progress between levels one and two. It cannot replace formal quality assurance.
5. Enterprise Teams Should Build a Multi-Metric Evaluation
Teams choosing an AI coding tool should not compare only the single ranking on a public leaderboard. They should build a test set that matches their own projects.
1. Split samples by task type
Prepare separate tasks for UI development, data access, component refactoring, legacy code migration, test coverage, and bug fixing. Different models may perform very differently across these categories.
2. Record the full engineering cost
Besides model usage fees, track manual review, environment maintenance, retries after failures, build waiting time, and follow-up fixes. What matters is the total cost of completing one acceptable task.
3. Track the rate of human takeover
If a model often stalls at key steps and developers must frequently edit the code manually, a high completion score may not translate into real gains. Count the number of human takeovers, the time they take, and the reasons behind them.
4. Check code security and maintainability
Focus on how sensitive information is handled, input validation, permission control, dependency introduction, log output, and error handling. Generated code that runs may still carry hidden security risks or long-term maintenance problems.
5. Repeat tests
A single run can be affected by task order, environment state, and random generation. A more reliable approach is to run the same tasks several times and report the average and range of pass rate, time, and cost.
6. Selection Guidance for Different Scenarios
For core business refactoring, complex feature development, and cross-module migration, prioritize task pass rate, long-context understanding, and error recovery. Even with a higher cost per run, these capabilities may reduce later rework.
For prototyping, internal tools, test sample generation, and simple UI builds, prioritize response speed and cost. The impact of failure is relatively contained in these cases, so fast iteration usually matters more than getting everything right the first time.
For large code repositories, also evaluate context management, control of change scope, and version collaboration. If a model changes too much, it may introduce regressions that are hard to detect. If it changes too little, it may not complete the full requirement.
7. Beyond Benchmark Scores, Focus on Adoption Practices
The practical value of an AI coding tool depends on the combination of model capability, engineering environment, and team process. Teams can take the following steps:
- Give the model clear, verifiable task descriptions;
- Break large requirements into steps that can each be accepted independently;
- Ask the model to explain its change plan before editing code;
- Run automated builds and tests for every change;
- Limit the model’s direct write access to critical directories and production configuration;
- Review outputs through code review and change diffs;
- Keep task logs, analyze failure causes, and keep improving prompt templates.
This round of testing shows mobile AI coding moving from generating code toward carrying out complete engineering tasks. High pass rates indicate the ability to handle complex problems. Lower cost and shorter time indicate potential for large-scale use. Development teams should weigh project risk, delivery timelines, human review capacity, and budget together, rather than drawing conclusions from leaderboard rankings alone.
