Roboflow
Google

Google: Gemini 2.5 Pro

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.

Pro outperforms earlier Gemini 2.0 models across benchmarks, including agentic coding tasks where it achieved ~63.8% on SWE-Bench Verified. It supports structured outputs, function calling, code execution, search grounding, and URL context, making it well-suited for enterprise, STEM, and developer workflows. However, it does not currently support image or audio generation in its stable release, and its higher computational cost and latency make it less efficient than Flash or Flash-Lite. It is available via the Gemini API, Google AI Studio, and Vertex AI.

Gemini 2.5 Pro Interactive Demo

Gemini 2.5 Pro Details & Performance

Details

Resources

Vision Tasks

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

Features

Foundation VisionLLMs with Vision CapabilitiesMultimodal Vision

Usage

Past 30 Days

Performance

Avg. Latency

Arena Rankings

Gemini 2.5 Pro Vision Evals

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

Evals updated August 6, 2026Pricing updated August 12, 2026

Overall score#19 of 25
66.0%
Avg cost / sample#12 of 25
$0.0050
Avg speed / sample#8 of 25
6.11s
Avg tokens / sample
796

Strengths and weaknesses

Gemini 2.5 Pro averages 66.0% across the six Vision Evals tasks, ranking #19 of 25 models overall.

Its weakest relative showing is Object Detection, ranking #24 of 25 at 33.7%.

At $0.0050 per sample it is the 12th cheapest of the 25 benchmarked models, and its average inference time of 6.1s per sample makes it the 8th fastest.

Performance profile

Field medianGemini 2.5 Pro

Field medians: Object Detection 56.0%, Counting 63.5%, Identification 84.4%, OCR 89.3%, Data Extraction 86.6%, Reasoning 55.6%.

Results by task

TaskScoreField (0 to 100)RankCost / sampleSpeed
Object Detection
33.7%
#24 of 25$0.01010.06s
Counting
52.7%
#17 of 25$0.00123.07s
Identification
93.8%
#5 of 25$0.00122.81s
OCR
88.8%
#14 of 25$0.00475.17s
Data Extraction
84.5%
#15 of 25$0.00133.02s
Reasoning (low)
42.4%
#18 of 25$0.00133.98s
Reasoning (high)
62.3%
#17 of 25$0.0119.30s
  • 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. Upper-left is the sweet spot: high quality at low cost.

25 models on the current benchmark · scores and efficiency pooled across all six tasks at low effort · Gemini 2.5 Pro highlighted

Gemini 2.5 Pro scores from a single evaluation run · Methodology

View all Vision Evals →

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 Aug 12, 2026

Other Google Gemini Pro models

Other versions in the same family as Gemini 2.5 Pro.

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 a model whose commercial license is included in your plan — on Roboflow Managed Cloud or a Self-Hosted Inference Server — Roboflow's licensing page lists the supported alternatives to Gemini 2.5 Pro.

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

This model is proprietary. The author retains all rights, and use of the model is governed by their specific terms of service or license agreement.

Commercial use depends on the terms set by the model author. Most proprietary commercial models require a paid subscription, API key, or per-call billing. Check the provider’s pricing and terms-of-service for details.

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

Frequently Asked Questions About Gemini 2.5 Pro Vision

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

Yes. its transcriptions match the ground truth 88.8% on average (#14 of 25) on Vision Evals OCR. Pulling specific fields out of documents (data extraction) scores 84.5%.

Not its strength. On Vision Evals, Gemini 2.5 Pro scores 33.7% mAP@50 on object detection (#24 of 25) and 52.7% exact-match 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.0050 per sample at $1.25 per 1M input and $10.00 per 1M output tokens (#12 of 25 on cost), with an average speed of 6.1s per sample across the benchmark. Actual cost depends on your images and prompts.

On the overall Vision Evals ranking, Gemini 2.5 Pro sits #19 of 25 at 66%, just behind Claude Sonnet 5 (66.4%) and just ahead of Qwen3-VL 235B (65.8%). See the full side-by-side: Gemini 2.5 Pro vs Claude Sonnet 5.