---
title: Google: Gemini 2.5 Pro API | Text Generation | ModelsLab
description: Advanced LLM with 1M token context (2M soon), multimodal text/image/audio/video input, 66K output; excels in reasoning, coding, math/science.
url: https://modelslab.com/models/google/google-gemini-2.5-pro.md
canonical: https://modelslab.com/models/google/google-gemini-2.5-pro.md
type: product
component: Playground/LLM/Index
generated_at: 2026-06-03T20:21:58.917768Z
---

Google: Gemini 2.5 Pro
---

 [LLMs.txt](https://modelslab.com/models/open_router/google-gemini-2.5-pro/llms.txt) [.md](https://modelslab.com/models/google/google-gemini-2.5-pro.md)

Google: Gemini 2.5 Pro
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Google: Gemini 2.5 Pro

google google-gemini-2.5-pro

Copy model ID

PricingInput $1.25 / 1M tokens

Output $10.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[#### open\_router/Mistral: Voxtral Small 24B 2507

mistralai-voxtral-small-24b-2507

From $0.20/M tokens](https://modelslab.com/models/open_router/mistralai-voxtral-small-24b-2507)

[#### mistral\_ai/Mistral (7B) Instruct v0.3

mistralai-Mistral-7B-Instruct-v0.3

From $0.20/M tokens](https://modelslab.com/models/mistral_ai/mistralai-Mistral-7B-Instruct-v0.3)

[#### openai/GPT 5.1

gpt5.1

From $5.63/M tokens](https://modelslab.com/models/openai/gpt5.1)

[#### open\_router/Meta Llama 3 8B Instruct Reference

meta-llama-Llama-3-8b-chat-hf

From $0.04/M tokens](https://modelslab.com/models/open_router/meta-llama-Llama-3-8b-chat-hf)

[#### together\_ai/Arize AI Qwen 2 1.5B Instruct

arize-ai-qwen-2-1.5b-instruct

From $0.10/M tokens](https://modelslab.com/models/together_ai/arize-ai-qwen-2-1.5b-instruct)

[#### open\_router/Qwen: Qwen3 Coder Flash

qwen-qwen3-coder-flash

From $0.58/M tokens](https://modelslab.com/models/open_router/qwen-qwen3-coder-flash)

[#### refuel\_ai/Refuel LLM V2 Small

togethercomputer-Refuel-Llm-V2-Small

From $0.24/M tokens](https://modelslab.com/models/refuel_ai/togethercomputer-Refuel-Llm-V2-Small)

[#### open\_router/Z.ai: GLM 5

z-ai-glm-5

From $1.26/M tokens](https://modelslab.com/models/open_router/z-ai-glm-5)

[#### open\_router/Qwen: Qwen3 Next 80B A3B Instruct

qwen-qwen3-next-80b-a3b-instruct

From $0.59/M tokens](https://modelslab.com/models/open_router/qwen-qwen3-next-80b-a3b-instruct)

[#### open\_router/Qwen: Qwen3.6 27B

qwen-qwen3.6-27b

From $1.75/M tokens](https://modelslab.com/models/open_router/qwen-qwen3.6-27b)

[#### open\_router/Anthropic: Claude Opus 4.8 (Fast)

anthropic-claude-opus-4.8-fast

From $30.00/M tokens](https://modelslab.com/models/open_router/anthropic-claude-opus-4.8-fast)

[#### open\_router/Google: Gemma 4 26B A4B 

google-gemma-4-26b-a4b-it

From $0.20/M tokens](https://modelslab.com/models/open_router/google-gemma-4-26b-a4b-it)

[#### open\_router/Qwen: Qwen3.6 Max Preview

qwen-qwen3.6-max-preview

From $3.64/M tokens](https://modelslab.com/models/open_router/qwen-qwen3.6-max-preview)

[#### together\_ai/MiniMax M2.7 FP4

MiniMaxAI-MiniMax-M2.7

From $0.75/M tokens](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M2.7)

[#### open\_router/Mistral: Ministral 3 14B 2512

mistralai-ministral-14b-2512

From $0.20/M tokens](https://modelslab.com/models/open_router/mistralai-ministral-14b-2512)

[#### open\_router/Mistral: Mistral Nemo

mistralai-mistral-nemo

From $0.03/M tokens](https://modelslab.com/models/open_router/mistralai-mistral-nemo)

[#### open\_router/AionLabs: Aion-1.0-Mini

aion-labs-aion-1.0-mini

From $1.05/M tokens](https://modelslab.com/models/open_router/aion-labs-aion-1.0-mini)

[#### open\_router/Switchpoint Router

switchpoint-router

From $2.13/M tokens](https://modelslab.com/models/open_router/switchpoint-router)

Open Source Alternatives
---

Explore open-source models that offer similar capabilities with full transparency and flexibility

 [View all open source models](https://modelslab.com/models?feature=llm&provider=open-source-models)

[MU](https://modelslab.com/models/modelslab/uncensored-chat)[ModelsLab](https://modelslab.com/models/modelslab)

 [Modelslab: Uncensored Chat

Open Source Model](https://modelslab.com/models/modelslab/uncensored-chat)

About Google: Gemini 2.5 Pro
---

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...

### Technical Specifications

Model IDgoogle-gemini-2.5-pro

CategoryLLM Models

TaskText Generation

Price$5.625 per million tokens

AddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Google: Gemini 2.5 Pro into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "google-gemini-2.5-pro",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

Google: Gemini 2.5 Pro API costs $5.625000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about Google: Gemini 2.5 Pro](https://modelslab.com/google-gemini-25-pro) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Google](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Google: Gemini 2.5 Pro FAQ
---

### What is Google: Gemini 2.5 Pro?

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...

### How do I use the Google: Gemini 2.5 Pro API?

You can integrate Google: Gemini 2.5 Pro into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "google-gemini-2.5-pro" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Google: Gemini 2.5 Pro cost?

Google: Gemini 2.5 Pro costs $5.625000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Google: Gemini 2.5 Pro model ID?

The model ID for Google: Gemini 2.5 Pro is "google-gemini-2.5-pro". Use this ID in your API requests to specify this model.

### Does Google: Gemini 2.5 Pro have a free tier?

Yes, ModelsLab offers a free tier that lets you try Google: Gemini 2.5 Pro and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-06-04*