Roboflow

GoogleGoogleReleased Jun 2025Proprietary

Gemini 2.5 Pro

Gemini 2.5 Pro scores 57.6% overall on Roboflow's Vision Evals (November 10, 2026 snapshot), #45 of 68 models (Gemini 3.1 Pro ranks higher at 76.8%).

Its best task is OCR (65.2%, #26 of 52) and its weakest is object detection (33.7%, #59 of 68). It is a proprietary model from Google, so commercial use follows Google's terms.

Vision Evals57.6%Field median 64.4% · #45 of 68
Cost$0.0051/ sampleField median $0.0034 · #40 of 68
Speed6.8s/ sampleField median 10.2s · #11 of 68

Gemini 2.5 Pro Interactive Demo

Model settings

Max output tokens

Default 65,536 · max 65,536

Sign in to adjust thinking and output length per run.

Results appear here. Add an image or pick an example to run Gemini 2.5 Pro.

Gemini 2.5 Pro Vision Evals

Vision Evals is Roboflow's ground-truth benchmark: every model runs the same real-world samples across five vision tasks, and answers are scored against ground truth.

Evals updated November 10, 2026Pricing updated November 10, 2026

Strengths and weaknesses

Best showing

TaskScoreMedianRank
OCR65.2%64.6%#26 of 52

Weak spot

TaskScoreMedianRank
Object Detection33.7%56.8%#59 of 68

Below the field median.

Score by taskScoreRank
Identification
93.8%#10
OCR
65.2%#26
Counting
52.7%#49
Reasoning
42.4%#49
Object Detection
33.7%#59

Gemini 2.5 ProField median

Ranks out of 68 models (52 for OCR)

Results by task

TaskScoreField (0 to 100)RankCost / sampleSpeed
Object Detection
33.7%
#59 of 68$0.01010.06s
Counting
52.7%
#49 of 68$0.00123.07s
Identification
93.8%
#10 of 68$0.00122.81s
OCR (low)
65.2%
#26 of 52$0.00466.88s
Single value
60.9%
Transcription
86.8%
Structured JSON
76.3%
Text localization
35.9%
OCR (high)
64.6%
#29 of 52$0.02521.02s
Single value
63.0%
Transcription
87.3%
Structured JSON
78.3%
Text localization
20.6%
Reasoning (low)
42.4%
#49 of 68$0.00133.98s
Reasoning (high)
62.3%
#41 of 55$0.0119.30s
  • Thinking longer does not help: 0.6 points lower on ocr at high effort for 5.4x the cost and 3.1x the latency.
  • Thinking longer helps: 19.9 points higher on reasoning at high effort for 8.3x the cost and 2.3x the latency.

Price vs. performance

Score vs. cost

Overall benchmark score against estimated cost per sample, on a log scale. Upper-left is the sweet spot: high quality at low cost.

67 of 68 models plotted (the rest have no measured figure for this axis) · scores and efficiency pooled across all five tasks at low effort · Gemini 2.5 Pro highlighted

Gemini 2.5 Pro scores are from a single run per task; a three-run re-run under the current protocol is pending · Methodology

View all Vision Evals →

Gemini 2.5 Pro Overview

Gemini 2.5 Pro, released on June 17, 2025, is Google DeepMind’s most capable model in the Gemini 2.5 family, optimized for deep reasoning, coding, and complex multimodal tasks. It accepts text, images, audio, video, and PDFs as input and outputs text. The model supports 1 million input tokens with an output capacity of up to 65K tokens, enabling large-scale comprehension of datasets, codebases, and technical documents. Its training knowledge extends to January 2025.

Gemini 2.5 Pro Pricing

Gemini 2.5 Pro costs $1.25 per 1M input tokens and $10.00 per 1M output tokens.

Input$1.25 / 1M tokens
Output$10.00 / 1M tokens
Cached input$0.125 / 1M tokens

Pricing updated Nov 10, 2026

Deploy Gemini 2.5 Pro with an API

Gemini 2.5 Pro runs as a hosted REST endpoint through Roboflow Workflows. Pick a task, then hand the prompt to your coding agent or copy the code. Deploying the workflow into a free Roboflow workspace replaces the your-workspace and YOUR_API_KEY placeholders with your own.

Connect your agent to Roboflow (once)

Add the Roboflow MCP server

claude mcp add --transport http roboflow https://mcp.roboflow.com/mcp

Run /mcp and authorize Roboflow in your browser when the OAuth flow opens.

Start a new Claude Code session so the MCP loads, then paste the prompt below (it works the same in any agent).

Deploy this workflow to your Roboflow workspace to use it.

Integrate the Roboflow "Gemini 2.5 Pro" workflow into my app.

- Endpoint: POST https://serverless.roboflow.com/<your-workspace>/workflows/gemini-2-5-pro-object-detection
- Auth: send my Roboflow API key as `api_key` in the request body, read from the ROBOFLOW_API_KEY env var (never hardcode).
- Body: { "api_key": ..., "inputs": { `image`: { type: "url" | "base64", value }, `classes`: string array } }.
- Billing: this workflow needs no provider API key — inference runs on my Roboflow credits. A BYO provider key can be added to the model step in the Roboflow workflow editor later.

With the Roboflow MCP connected, call `workflows_get` on "gemini-2-5-pro-object-detection" to read the exact input schema (the source of truth), then `workflows_run` on a sample image to confirm the output shape before writing code (the MCP is authenticated, so this needs no key). Without the MCP, use the contract above.

Before running the app, set up these keys so it does not error at runtime:
- `ROBOFLOW_API_KEY` (sent as `api_key`) from https://app.roboflow.com/settings/api
Create a .gitignore'd .env with these variables, using placeholder values for any I haven't given you. Then pause and tell me directly, in your reply: the full path to the .env file, exactly which keys I need to paste in, and the link to get each one. Wait for me to confirm I've added them before you run anything. Do not run the app until I confirm.

Then add the integration to my codebase: match my project's language, framework, and conventions; read every key from environment variables (never hardcode); add basic error handling; and include a small runnable example. If you can't tell what language my project uses, ask me.
Installpip install inference-sdk

Deploy this workflow to your Roboflow workspace to use it.

# Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
# 1. Import the library
from inference_sdk import InferenceHTTPClient

# 2. Connect to your workflow
client = InferenceHTTPClient(
  api_url="https://serverless.roboflow.com",
  api_key="YOUR_API_KEY"
)

# 3. Run your workflow on an image
result = client.run_workflow(
  workspace_name="your-workspace",
  workflow_id="gemini-2-5-pro-object-detection",
  images={
    "image": "YOUR_IMAGE.jpg"  # Path to your image file
  },
  parameters={
    "classes": ["class1", "class2", "class3"]
  },
  use_cache=True  # cache workflow definition for 15 minutes
)

# 4. Get your results
print(result)

Deploy this workflow to your Roboflow workspace to use it.

// Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
const response = await fetch('https://serverless.roboflow.com/your-workspace/workflows/gemini-2-5-pro-object-detection', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    api_key: 'YOUR_API_KEY',
    inputs: {
      "image": {"type": "url", "value": "IMAGE_URL"},
      "classes": ["class1", "class2", "class3"]
    }
  })
});

const result = await response.json();
console.log(result);

Deploy this workflow to your Roboflow workspace to use it.

# Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
curl --location 'https://serverless.roboflow.com/your-workspace/workflows/gemini-2-5-pro-object-detection' \
--header 'Content-Type: application/json' \
--data '{
  "api_key": "YOUR_API_KEY",
  "inputs": {
    "image": {"type": "url", "value": "IMAGE_URL"},
    "classes": ["class1", "class2", "class3"]
  }
}'

Gemini 2.5 Pro License

Proprietary

Gemini 2.5 Pro is proprietary: the weights are not distributed, and the Gemini 2.5 Pro license is the vendor's commercial terms of service that you accept when you call the API.

Commercial use
Permitted under the vendor terms, typically metered per token or per request, with the vendor usage policy applying to your inputs and outputs.
Modification
Not available. Gemini 2.5 Pro weights are closed, so you can configure prompts and use vendor-hosted fine-tuning where it is offered, but you cannot modify the model itself.
Redistribution
Not permitted. You cannot self-host or resell the model; you build on the hosted API instead.

Vendor terms govern data retention, whether your inputs can be trained on, rate limits, and regional availability, and they can change with notice. Review them if you handle regulated or customer data.

Do I need a commercial license for Gemini 2.5 Pro?

Proprietary terms are set by the vendor rather than negotiated per project, and no open-source obligation attaches to your code. If you would rather deploy an open model instead of Gemini 2.5 Pro, Roboflow's licensing page lists the models whose commercial license is included when you deploy on Roboflow.

Do not hesitate to reach out with questions for your commercial project. Our team will help you start solving business problems on the first call. See Roboflow commercial licensing for the models included in each plan.

Talk to sales

License information is provided as a guide and is not legal advice.

Gemini 2.5 Pro Details

Details

Categoryclosed
ModalityMultimodal
Context Window1.0M
LicenseProprietary
Release DateJun 2025

Vision Tasks

CaptioningChart Question AnsweringClassificationDocument Question AnsweringImage TaggingMulti-Label ClassificationOCRObject DetectionVision LanguageVisual Question Answering

Usage

Past 30 Days

Other Google Gemini Pro models

Other versions in the same family as Gemini 2.5 Pro.

Frequently Asked Questions About Gemini 2.5 Pro Vision

Yes. Gemini 2.5 Pro accepts image input and handles OCR, object counting, identification, visual reasoning, and object detection. On Roboflow's Vision Evals its strongest task is Identification at 93.8% (#10 of 68 at low effort). You can test it on your own image in the demo above.

Yes. it scores 65.2% (#26 of 52 at low effort) on Vision Evals OCR, which covers single readings, full transcriptions, structured JSON, and locating text with boxes. Within that, full transcriptions score 86.8%, and returning the fields of a label or form as JSON scores 76.3%.

Not its strength. On Vision Evals, Gemini 2.5 Pro scores 33.7% mAP@50 on object detection (#59 of 68 at low effort) and 52.7% judge-graded accuracy on object counting. For production counting or precise localization, pairing it with a specialized detector like RF-DETR or your own trained model in a Roboflow Workflow is usually more reliable: detect the objects, then count the detections.

On our benchmark's task mix, Gemini 2.5 Pro averages $0.0051 per sample at $1.25 per 1M input and $10.00 per 1M output tokens (#40 of 68 on cost), with an average speed of 6.8s per sample across the benchmark. Actual cost depends on your images and prompts.

On the overall Vision Evals ranking, Gemini 2.5 Pro sits #45 of 68 at 57.6%, just behind Gemma 4 31B (57.7%) and just ahead of Mistral Large 4 (56.8%). See the full side-by-side: Gemini 2.5 Pro vs Gemma 4 31B.