Speed
Output tokens / second
Custom pricing for production workloads
Gemini Pro 2.5 is Google's most advanced reasoning AI model designed for complex tasks, showcasing strong reasoning and coding capabilities. It leads various benchmarks, indicating its enhanced performance.
Gemini Pro 2.5 is Google's advanced AI model designed for complex tasks, showcasing strong reasoning and coding capabilities.
google/gemini-2.5-prohttps://api.aimlapi.com/v1Gemini Pro 2.5 Preview demonstrates significant improvements in performance, including top-tier results in math problem-solving, coding, and multi-step reasoning tasks. It’s part of Google's family of scalable Gemini models optimized for AI-native applications and products.
Transformer-based architecture with reasoning-specific layers optimized for multimodal inputs (text and images). Includes advanced post-training enhancements.
Combines billions of tokens with terabytes of multimedia data spanning diverse domains.
The model is available on the AI/ML API platform as "Gemini Pro 2.5 Preview" .
See how Gemini Pro 2.5 compares in generation speed and latency. Data retrieved Nov 3, 2026.
Output tokens / second
Compare 6 models available on AI/ML API across 5 independent benchmarks.
Expert-written questions across academic subjects.
Graduate-level science questions written to resist web search.
Agentic tasks completed in a command-line environment.
Reasoning across long documents of about 100k tokens.
Python coding tasks drawn from scientific research.
| Usage | Price | Unit |
|---|---|---|
| Input | $1.25 | 1M tokens |
| Output | $10 | 1M tokens |
| Cached input | $1.25 | 1M tokens |
Gemini Pro 2.5 is deprecated on AI/ML API. The rates apply to existing integrations; the models below are current alternatives.
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $1.25 | $10 | |
| $0.3 | $2.5 | |
| $0.75 | $3.75 | |
| $0.75 | $3.75 | |
| $2 | $10 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "google/gemini-2.5-pro",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "google/gemini-2.5-pro",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "google/gemini-2.5-pro",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Gemini Pro 2.5 has a 1,000,000 tokens context window and can return up to 65,536 tokens.
Gemini Pro 2.5 takes image, text as input and returns text.
Use google/gemini-2.5-pro as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Gemini Pro 2.5 became available on September 9, 2025.
Gemini Pro 2.5 is priced at input $1.625 / 1M tokens, output $13 / 1M tokens, cached input $1.625 / 1M tokens.
Yes, Gemini Pro 2.5 can stream responses as they are generated.
Yes, Gemini Pro 2.5 accepts image input alongside text.
Gemini Pro 2.5 was built by Google.
Yes, it supports function calling, including parallel tool calls and structured output.