Google Gemini · Flagship · 2026-08-13

Gemini 3.1 Pro Preview vision benchmark

How Gemini 3.1 Pro Preview performed on screenshot-based UI grounding, element-presence, and visible layout-defect tasks relevant to test automation.

Exact API modelgoogle/gemini-3.1-pro-preview

Requests were pinned to Google AI Studio infrastructure through OpenRouter. Fallbacks were disabled for every retained request.

Grounding hit rate88%
Mean box IoU0.632
Presence accuracy92%
Defect accuracy92%

Overall result

Gemini 3.1 Pro Preview across all three UI tasks

Gemini 3.1 Pro Preview hit 21 of 24 requested UI targets. Its balanced accuracy was 92% for element presence and 92% for layout-defect detection.

This dated pilot retained 24 grounding responses and 24 detection responses. No detection requests failed. Results describe this exact API model and test corpus, not general model quality or a consumer chat product.

Check out the complete LLM vision benchmark →

Relative performance

Where Gemini 3.1 Pro Preview sits among the tested models

Each scale compares the selected model with the strongest and weakest other model. All three metrics come from the same completed 24-case grounding run; stronger is always to the right.

Box IoUHigher is stronger
0.632
Weakest other
Claude Sonnet 50.043
Strongest other
GPT-5.6 Luna0.771
SpeedLower latency is stronger
11.89 s
Weakest other
Claude Opus 54.24 s
Strongest other
Grok 4.51.67 s
CostLower total cost is stronger
$0.0726
Weakest other
Claude Opus 5$0.2474
Strongest other
GPT-5.6 Luna$0.0057
Check out the complete LLM vision benchmark →

UI grounding

Can Gemini 3.1 Pro Preview locate actionable elements?

Twenty-four targets span six deterministic desktop and mobile screens. A schema-valid point inside the requested target counts as a hit; box IoU measures localization precision.

commerce catalog desktop / clean / grounding / add productPassedHit0.93611.67 s$0.0031
commerce catalog desktop / clean / grounding / searchPassedHit0.1413.77 s$0.0030
commerce catalog desktop / clean / grounding / catalog queryPassedHit0.8616.04 s$0.0030
commerce catalog desktop / clean / grounding / stock filterPassedHit0.4833.34 s$0.0030
analytics dashboard desktop / clean / grounding / search fieldPassedHit0.9663.78 s$0.0031
analytics dashboard desktop / clean / grounding / compare togglePassedHit0.4013.00 s$0.0031
analytics dashboard desktop / clean / grounding / audience tabPassedHit0.9603.55 s$0.0030
analytics dashboard desktop / clean / grounding / revenue cardPassedHit0.9918.65 s$0.0031
iot control desktop / clean / grounding / auto modePassedHit0.4243.71 s$0.0031
iot control desktop / clean / grounding / devices navPassedHit0.9806.47 s$0.0030
iot control desktop / clean / grounding / pump cardInvalid responseMiss0.00027.79 s$0.0031
iot control desktop / clean / grounding / restart deviceInvalid responseMiss0.00022.85 s$0.0030
banking ios / clean / grounding / transferPassedHit0.9762.71 s$0.0030
banking ios / clean / grounding / profileInvalid responseMiss0.0009.11 s$0.0030
banking ios / clean / grounding / transaction searchPassedHit0.83937.42 s$0.0030
banking ios / clean / grounding / hide balancePassedHit0.27252.21 s$0.0030
flight pass ios / clean / grounding / trips tabPassedHit0.1223.51 s$0.0030
flight pass ios / clean / grounding / boarding passPassedHit0.9862.88 s$0.0030
flight pass ios / clean / grounding / check inPassedHit0.9846.65 s$0.0030
flight pass ios / clean / grounding / profile tabPassedHit0.69935.17 s$0.0030
smart home android / clean / grounding / thermostat cardPassedHit0.9854.41 s$0.0030
smart home android / clean / grounding / add devicePassedHit0.9773.35 s$0.0030
smart home android / clean / grounding / morePassedHit0.3382.89 s$0.0030
smart home android / clean / grounding / room searchPassedHit0.83920.55 s$0.0030

Detection results

Presence and visible layout defects

Separate balanced tasks measure whether the model rejects absent elements and distinguishes clean controls from screenshots containing one seeded layout defect.

Can the model tell when an element is not there?

Six present and six absent target queries per model. This track measures classification only.

Balanced accuracy92%
Present recall100%
Absent specificity83%
Coverage12/12
Expected
commerce catalog desktop / clean / element presence / presentValidCorrectPresentPresent10.76 s$0.0024
commerce catalog desktop / clean / element presence / absentValidCorrectAbsentAbsent39.19 s$0.0024
analytics dashboard desktop / clean / element presence / presentValidCorrectPresentPresent10.79 s$0.0024
analytics dashboard desktop / clean / element presence / absentValidCorrectAbsentAbsent9.87 s$0.0024
iot control desktop / clean / element presence / presentValidCorrectPresentPresent26.31 s$0.0024
iot control desktop / clean / element presence / absentValidCorrectAbsentAbsent12.43 s$0.0024
banking ios / clean / element presence / presentValidCorrectPresentPresent10.08 s$0.0023
banking ios / clean / element presence / absentValidCorrectAbsentAbsent12.43 s$0.0023
flight pass ios / clean / element presence / presentValidCorrectPresentPresent9.94 s$0.0023
flight pass ios / clean / element presence / absentValidCorrectAbsentAbsent10.30 s$0.0023
smart home android / clean / element presence / presentValidCorrectPresentPresent15.90 s$0.0023
smart home android / clean / element presence / absentValidIncorrectPresentAbsent12.13 s$0.0023

Can the model distinguish clean and broken layouts?

Six clean controls and six screenshots with one seeded defect per model. Transport failures remain operational failures, not accuracy answers.

Balanced accuracy92%
Defect recall100%
Clean specificity83%
Coverage12/12
Localization IoU
commerce catalog desktop / clean / layout defectValidCorrectNot applicable31.21 s$0.0029
commerce catalog desktop / defect / layout defectValidCorrectCorrect0.21224.13 s$0.0032
analytics dashboard desktop / clean / layout defectValidCorrectNot applicable43.13 s$0.0028
analytics dashboard desktop / defect / layout defectValidCorrectIncorrect0.00032.34 s$0.0032
iot control desktop / clean / layout defectValidCorrectNot applicable22.27 s$0.0027
iot control desktop / defect / layout defectValidCorrectCorrect0.07737.14 s$0.0032
banking ios / clean / layout defectValidIncorrectNot applicable11.05 s$0.0031
banking ios / defect / layout defectValidCorrectCorrect0.2329.76 s$0.0032
flight pass ios / clean / layout defectValidCorrectNot applicable10.48 s$0.0027
flight pass ios / defect / layout defectValidCorrectIncorrect0.00017.76 s$0.0033
smart home android / clean / layout defectValidCorrectNot applicable11.71 s$0.0028
smart home android / defect / layout defectValidCorrectCorrect0.16410.05 s$0.0034

Why this research matters

Using the right kind of vision for each test

Top vision LLMs can reason about complex visual meaning, but they are still too slow and expensive for every test step. This research helps us identify where their semantic capabilities justify that trade-off.

01

Fast local evaluation

Repeato’s own local vision algorithms handle frequent interactions, visual matching, and regression checks with fast feedback, predictable behavior, and no per-request model cost.

02

Semantic reasoning when needed

Top vision LLMs are useful for more complicated questions: understanding meaning, checking dynamic content, describing defects, or evaluating concepts that cannot be captured by a simple visual fingerprint.

03

An evidence-based hybrid

Benchmarking accuracy, latency, reliability, and cost helps us decide which checks should remain local and which benefit enough from an LLM to justify a slower, more expensive evaluation.

Our product strategy

Use Repeato’s local computer vision as the fast foundation, then bring in top vision LLMs selectively for complicated or semantic reasoning where they provide meaningful additional value.

Check out the whole vision benchmark →

Test coverage

Six screens, three task types

Every model is evaluated against the same frozen corpus, prompts, response schemas, and normalized 0–1000 geometry.

01

Commerce catalog

Desktop web with a clean control and a paired container clipping defect.

02

Analytics dashboard

Desktop web with a clean control and a paired text overflow defect.

03

IoT control center

Desktop web with a clean control and a paired element overlap defect.

EN