Model Comparison
This page focuses on comparing models' UI grounding performance—how accurately and efficiently they locate target elements on screen. In current E2E testing scenarios, the primary challenge for a GUI Agent is rarely long-horizon planning; it is grounding accuracy, which directly determines execution reliability. With this in mind, we built the Midscene Grounding Benchmark to provide an objective reference for model selection:
- Realistic E2E coverage: Spans desktop web and mobile environments, testing everything from standard control recognition to small icon localization, color distinction, relative positioning, and state-based logical reasoning—rather than probing theoretical capability limits.
- Practical evaluation: Measures accuracy, response latency, and cost when executing Midscene's natural-language grounding instructions, reflecting real-world E2E performance.
- Informed trade-offs: Provides multi-dimensional comparisons to help you weigh accuracy, speed, and budget when choosing a model.
Accuracy and performance
This round of testing was conducted on November 23, 2026, using 200 test cases and covering 35 models. View the full report.
The chart below compares models across two dimensions: Accuracy and Performance. To factor in pricing as well, check the cost estimator below or open the full report.
Metrics
Cost estimation
Alongside accuracy and latency, you can use the estimator below to check calling costs across platforms and common screen resolutions (roughly how many grounding calls and E2E tests $1 covers). As the numbers show, single-step grounding costs are low for most models, so there is rarely a need to trade away accuracy for tiny API savings—once the cost fits your budget, choosing a more reliable model usually pays off.
Estimate cost for your model
Pick a model you already have access to and check its token usage and grounding cost.
Cost calculator
≈20,164UI grounding steps / $1
- Estimated test runs
- ≈ 2,016 runs
(~10 steps each) - Estimated tokens per grounding step
- 1,072 in22 out
Input and output tokens are estimated from screenshot pixel count. Costs use published reference prices.
Selection tips
When choosing a grounding model from these benchmark results, focus on two key guidelines:
- Understand the Accuracy tiers: An Accuracy of around 75%–85% is usually sufficient for most standard E2E scenarios. Models scoring 90% or higher are better suited for demanding cases—such as intricate business logic, hard-to-interpret UI states, or niche, non-standard interfaces. Keep in mind that pursuing top-tier Accuracy typically comes with higher API costs.
- Pick the best model within your budget: Use the cost estimator above or the Economy metrics in the full report to gauge your budget. Within what you can afford, prioritize the highest-performing model available—it will save substantial time on debugging grounding failures and tuning prompts.
Ultimately, your choice should still fit your actual business needs. If you are unsure where to start, pick an accessible model within your budget, get your workflow running, and compare alternatives from there.
Test cases
The Midscene Grounding Benchmark covers common E2E grounding scenarios on web and mobile, with 100 test cases per platform. The test cases vary in difficulty, context, and the grounding skills they assess. Tasks range from basic button recognition to locating tiny, semitransparent elements in complex maps or charts based on the current UI state and a combination of logical conditions.
Of these, 167 test cases were collected and adapted from publicly available data. External sources include VenusBench-GD, ScreenSpot-v2, MMBench-GUI L2, UI-I2E-Bench, WebClick, OSWorld-G, GroundUI-1K, GroundUI-18K, and Wikimedia Commons. The Midscene team wrote the remaining 33 test cases based on common testing scenarios and extensive user feedback. Test set sources and attribution.
Test your own model
If you want to evaluate a new model from a provider or compare models not yet covered in this round, you can test them on the same cases and compare the results against the official report to see if they fit your testing scenario. Use the Midscene CLI to view the 200 official test cases, run the benchmark on your target model, and merge the results into the full report above.
1. View or download the test set
Run the following command to download the test set and open the viewer to see UI screenshots, grounding instructions, and ground truth.
2. Configure a model
Before testing your own model, gather its metadata and pass it to the Midscene CLI through an environment variable so the new model can be evaluated using the same metrics as the other models in the Midscene Grounding Benchmark. Consider using your AI agent to gather this information quickly.
- Connection settings allow Midscene to call the model. Use the Base URL, API Key, model name, and model family from your Midscene configuration. Choose a display name that is absent from the official report to add a separate entry to the merged report. See the provider examples in Use a model API key.
- Pricing is applied to cumulative token usage to calculate Economy. Provide uncached input and output prices in US dollars per token.
- Performance data supplies the reference values for the Performance metric. Specify the time to first token in milliseconds and output throughput in tokens per second, preferably as P50 values. Use measurements taken with reasoning disabled where supported, or at the lowest available reasoning effort.
Use pricing and performance data for the same model and provider configuration. Include the source, its URL, and the date of observation. You can reuse a built-in preset if it matches the model's display name. If required connection settings or usable reference data are missing, the CLI reports an error before calling the model.
.env configuration example
3. Run the test
Run the following command to verify connectivity to the model with a single test case.
Once the model returns a result, run all 200 test cases.
4. Merge reports
After running the full test set, run the following command to combine the existing results from the official report and your local report into a new comparison report.
More
Test methodology
The benchmark calls Midscene's aiLocate() API (the underlying grounding capability behind aiTap(), aiInput(), and other interaction APIs) on fixed screenshots, checking whether the returned bounding box center falls within the ground truth region (or whether the model reports no match on refusal cases); the evaluation code and public test set are open-sourced at packages/benchmark-grounding for inspection and reuse.
Open-source licenses
Test cases created by Midscene are licensed under the MIT License to the extent of Midscene's rights, while test cases collected or adapted from external sources retain their respective licenses (including MIT and Apache-2.0). When reusing test cases or screenshots, check the Licenses page in the full report for applicable terms and attribution, or inspect individual test cases for their sources and modification history (see Test set license and attribution). If you are a rights holder or authorized representative and believe any test case or screenshot was used without permission, please submit a report via GitHub Issues with the test case ID, a link to the relevant content, and a brief explanation of the rights at issue so the team can review and address it.
Disclaimer
This benchmark is designed as a practical selection guide reflecting how models perform in E2E testing scenarios—it is not a scientific evaluation, nor does it represent a model's overall capability in the broader GUI Agent domain. Actual results in production will also vary with page complexity, testing requirements, the model provider, and how the model is accessed.
In addition, we will continue to maintain and update this benchmark over time. As the test set and evaluation configurations evolve, absolute scores across different test-set versions or evaluation rounds may not be directly comparable and should be interpreted within the context of each round.

