For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /grounding-benchmark.md.
  • English
  • Midscene Grounding Benchmark Test Report

    The Midscene grounding benchmark measures whether models can follow Midscene's natural-language grounding instructions to locate target elements across a set of UI screenshots or correctly determine when the UI contains no matching element. It also estimates each model's grounding time and cost.

    The benchmark helps Midscene users choose a grounding model for their test scenarios.

    Results

    The November 23, 2026 evaluation used 200 testcases and covered 34 models, with 6,800 outcomes in total. Open the full report in a new tab.

    Metrics

    MetricAspectMeaning
    ScoreIntelligenceThe share of testcases the model answers correctly, reflecting its ability to handle complex grounding tasks.
    Estimated Model DurationSpeedThe estimated time from receiving a grounding instruction to returning a grounding result, based on the model's token usage, time to first token, and output throughput. It aims to exclude the effects of network conditions, region, test runner scheduling, provider safety checks, and other sources of variability so model speed comparisons are reproducible.
    Estimated CostCostThe estimated cost of model calls per testcase, in US dollars, based on input and output token usage and reference prices.
    Synthesis ScoreBalanceCombines the three metrics above to reflect a model's overall performance in grounding ability, speed, and cost. Use it to shortlist models that balance all three.

    Testcases

    The dataset covers common grounding scenarios on the web and on mobile, with 100 testcases each. Tasks range from identifying a button to finding small, semi-transparent elements in complex maps or charts based on the current UI state and a combination of conditions. Each testcase includes instructions in English and Chinese.

    Of these, 167 testcases were collected and adapted from public benchmarks and materials. Sources include VenusBench-GD, ScreenSpot-v2, MMBench-GUI L2, UI-I2E-Bench, WebClick, OSWorld-G, GroundUI-1K, GroundUI-18K, and Wikimedia Commons. Dataset sources and attribution. The Midscene team wrote the remaining 33 testcases based on common testing scenarios and extensive user feedback.

    CategoryCasesDifficultyWhat it tests
    Basic Element33⭐️Find the target element using a direct description of it.
    Color Recognition11⭐️⭐️Use color to distinguish between candidates.
    Functional41⭐️⭐️Find the target element from a description of its intended function.
    Reasoning70⭐️⭐️⭐️⭐️Find the target element based on the current page state and a combination of conditions.
    Refusal15⭐️⭐️⭐️⭐️⭐️The UI contains no element that matches the instruction. These testcases assess whether the model reports that accurately.
    Relative Position9⭐️⭐️⭐️Find an element by its position relative to another element.
    Small Target21⭐️⭐️⭐️Pick a precise location on a small control.

    Selection guide

    • Simple pages. If most of your regression tests cover signing in, filling in forms, and saving changes, the concern is whether a cheaper model will start missing controls in tests that already pass. For clearly labeled controls, use Basic Element results to judge whether a lower-cost model is good enough. In this run, hy4-flash got 32 of 33 right at an estimated $0.09 per 1,000 grounding steps.
    • Complex pages. If you test complex pages with fine-grained interactive elements, densely annotated maps, large tables, or intricate interaction flows, prioritize models that scored above P50 when your budget allows. Examples include higher-scoring models in the gemini-4 and gpt-6.2 series, qwen3.8-max, and qualifying models in the kimi-k3 series. This can reduce the time spent repeatedly refining prompts and adding context, making it easier to build stable automated tests.
    • Limited budget. When you run regression tests several times a day, account for model fees and the work a wrong click can create. A mistake just before submission can mean cleaning up test data and starting over. Estimate the cost from the number of grounding steps per run, then use the cost of a rerun to decide how much to budget for accuracy. In this benchmark, 1,000 steps cost an estimated $0.58 with gpt-6-luna, which scored 90, or $1.38 with gemini-3.8-flash, which scored 95.5.
    • Speed matters. In time-sensitive interactions or rapid development cycles, waiting for a grounding result affects when the script can act and how soon you get regression feedback. If you can trade some grounding accuracy or reliability for speed, prioritize models with an Estimated Model Duration below P50. In this run, P50 was about 1.76 seconds per testcase. jev-1.14 was fastest at 0.08 seconds per testcase. deepseek-v4.1-flash (0.20 s), kimi-k3 (0.38 s), and gpt-6-luna (0.81 s) were also below P50.

    Family restrictions

    If you can only use certain model families because of laws and regulations, security controls, company policies, regional restrictions, upstream or downstream infrastructure, or similar constraints, use the table below to compare grounding accuracy, speed, and cost across the families available to you.

    Model familyIntelligence top1Speed top1Cost top1Balance top1
    Geminigemini-4-hydrogengemini-3.5-flashgemini-3.8-flashgemini-3.8-flash
    GPTgpt-6.2-solgpt-5.6-lunagpt-6-lunagpt-6-luna
    Qwenqwen3.8-maxqwen3.8-flashqwen3.8-flashqwen3.7-plus
    Hunyuanhy4hy4-flashhy4-flashhy4-flash
    Kimikimi-k3kimi-k3kimi-k3kimi-k3
    Doubaoseed-evolvingseed-2.0-miniseed-2.0-miniseed-2.1-lite
    StepFunstep-3.7-flash
    MiMomimo-v2.6-flash
    DeepSeekdeepseek-v4.1-flash
    Jevjev-1.14

    What the benchmark runs

    The benchmark calls agent.aiLocate() to test whether the model finds the described control in a fixed screenshot. This is the step that determines whether aiTap() clicks the intended button or aiInput() writes into the correct field.

    • aiTap(), aiRightClick(), aiMiddleClick(), aiDoubleClick(), aiHover(), aiInput(), aiClearInput(), and aiLongPress() all use the same grounding capability to find a target before acting.
    • When given a target, aiScroll(), aiKeyboardPress(), and aiPinch() also locate it first. aiAct() plans a sequence and can use the same grounding capability in steps that need to find an element.
    • The Insight model reads page content and checks assertions in aiQuery() and aiAssert(). Model roles in Midscene

    View the dataset or run an evaluation

    Use the viewer to inspect screenshots, instructions, and annotations locally without setting up a model API Key.

    pnpm dlx @midscene/cli model benchmark-grounding viewer

    To run the benchmark with your own models, see the Grounding benchmark CLI reference.

    Licenses and scope

    Midscene's CLI code and dataset contributions are MIT-licensed within the scope of Midscene's rights. Imported testcases retain their source licenses, including MIT and Apache-2.0. Before reusing testcases or screenshots, check Licenses in the report for terms and attribution, and the testcase details for its source and changes. Third-party interfaces, trademarks, and images in the screenshots may carry their own terms. Dataset license and notices

    The report reflects performance on this set of testcases and model configurations. Accuracy, cost, and response time in production vary with the pages you test, the provider, and how you connect.