Models / Gemini 2.5 Pro
Gemini 2.5 Pro
proprietaryGoogle's most capable model. Strong at reasoning, math, and multimodal understanding.
google/gemini-2.5-proContext Window
1M
Max Output
66K
Providers
1
Released
2025-03
Capabilities
chatcodevisionreasoningthinkingtoolsfunction_callingstreamingjson_mode
Pricing by Provider
| Provider | Input $/1M | Output $/1M | Latency p50 | Latency p95 | Status |
|---|---|---|---|---|---|
| $1.25 | $10.00 | 400ms | 1300ms |
Quick Start
Python
import magicrouter
mr = magicrouter.Client(
provider_keys={"google": "your-api-key"}
)
response = mr.chat(
"google/gemini-2.5-pro",
"Your prompt here"
)
print(response.choices[0].message.content)TypeScript
import { MagicRouter } from "magicrouter";
const mr = new MagicRouter({
providerKeys: { google: "your-api-key" }
});
const response = await mr.chat({
model: "google/gemini-2.5-pro",
messages: [{ role: "user", content: "Your prompt here" }]
});
console.log(response.choices[0].message.content);cURL
curl https://generativelanguage.googleapis.com/v1beta/chat/completions \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-2.5-pro-preview-03-25",
"messages": [{"role": "user", "content": "Your prompt here"}]
}'