Google: Gemini 2.5 Pro Preview

google/gemini-2.5-pro-preview

Created May 7, 20251,048,576 context
Starting at $1.25/M input tokensStarting at $10/M output tokens$5.16/K input imgs

Gemini 2.5 Pro is Google’s state-of-the-art AI model designed for advanced reasoning, coding, mathematics, and scientific tasks. It employs “thinking” capabilities, enabling it to reason through responses with enhanced accuracy and nuanced context handling. Gemini 2.5 Pro achieves top-tier performance on multiple benchmarks, including first-place positioning on the LMArena leaderboard, reflecting superior human-preference alignment and complex problem-solving abilities.

Providers for Gemini 2.5 Pro Preview

OpenRouter routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

Context
1.05M
Max Output
66K
Input
$1.25
to $2.50
Output
$10
to $15
Context
1.05M
Max Output
66K
Input
$1.25
to $2.50
Output
$10
to $15

Apps using Gemini 2.5 Pro Preview

Top public apps this week using this model

1.
Favicon for https://roocode.com/
Roo Code
A whole dev team of AI agents in your editor
28.1Btokens
2.
Favicon for https://cline.bot/
Cline
Autonomous coding agent right in your IDE
22.2Btokens
3.
Favicon for https://sillytavern.app/
SillyTavern
LLM frontend for power users
2.06Btokens
4.
Favicon for https://aider.chat/
Aider
AI pair programming in your terminal
1.31Btokens
5.
Favicon for https://litellm.ai/
liteLLM
Open-source library to simplify LLM calls
1.14Btokens
6.
Favicon for https://openrouter.ai/chat
OpenRouter: Chatroom
Chat with multiple LLMs at once
928Mtokens
7.
Favicon for https://math-gpt.org/
MathGPT
Instant homework help from your personal AI math solver
562Mtokens
8.
Favicon for https://openwebui.com/
Open WebUI
Extensible, self-hosted AI interface
503Mtokens
9.
Favicon for https://kilocode.ai/
Kilo Code
new
460Mtokens
10.
Favicon for https://t.me/
t.me
new
456Mtokens
11.
Favicon for https://infiniteworlds.app/
Infinite Worlds
Build your own adventures, share them with friends
370Mtokens
12.
Favicon for https://ra-aid.ai/
RA.Aid
new
334Mtokens
13.
Favicon for https://chatwise.app/
ChatWise
Chatbot with artifacts and search
225Mtokens
14.
Favicon for https://bothub.chat/
BotHub
Multi-model ChatGPT
194Mtokens
15.
Favicon for https://cherry-ai.com/
Cherry Studio
new
181Mtokens
16.
Favicon for https://chatboxai.app/
Chatbox AI
On-device AI copilot
178Mtokens
17.
Favicon for https://kortex.co/
Kortex
new
167Mtokens
18.
Favicon for https://janitorai.com/
janitorai.com
new
164Mtokens
19.
Favicon for https://novelcrafter.com/
novelcrafter
Your personal novel writing toolbox. Plan, write and tinker with your story.
159Mtokens
20.
Favicon for https://plandex.ai/
Plandex
new
127Mtokens

Recent activity on Gemini 2.5 Pro Preview

Tokens processed per day

Apr 4Apr 7Apr 10Apr 13Apr 16Apr 19Apr 22Apr 25Apr 28May 1May 4May 703.5B7B10.5B14B

Uptime stats for Gemini 2.5 Pro Preview

Uptime stats for Gemini 2.5 Pro Preview across all providers

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it.

Learn more about our load balancing and customization options.

Sample code and API for Gemini 2.5 Pro Preview

OpenRouter normalizes requests and responses across providers for you.

OpenRouter provides an OpenAI-compatible completion API to 300+ models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.

In the examples below, the OpenRouter-specific headers are optional. Setting them allows your app to appear on the OpenRouter leaderboards.

from openai import OpenAI

client = OpenAI(
  base_url="https://openrouter.ai/api/v1",
  api_key="<OPENROUTER_API_KEY>",
)

completion = client.chat.completions.create(
  extra_headers={
    "HTTP-Referer": "<YOUR_SITE_URL>", # Optional. Site URL for rankings on openrouter.ai.
    "X-Title": "<YOUR_SITE_NAME>", # Optional. Site title for rankings on openrouter.ai.
  },
  extra_body={},
  model="google/gemini-2.5-pro-preview",
  messages=[
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "What is in this image?"
        },
        {
          "type": "image_url",
          "image_url": {
            "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
          }
        }
      ]
    }
  ]
)
print(completion.choices[0].message.content)

Using third-party SDKs

For information about using third-party SDKs and frameworks with OpenRouter, please see our frameworks documentation.

See the Request docs for all possible fields, and Parameters for explanations of specific sampling parameters.

More models from Google

    Gemini 2.5 Pro Preview - API, Providers, Stats | OpenRouter