Google AI Studio
Gemini 2.5 Pro (AI Studio)
Google AI Studio's 2025 flagship multimodal model with ultra-long context support and powerful multimodal understanding capabilities
Context Length2M tokens
Model TypeMultimodal Large Language Model
MultimodalText, images, audio, video, PDF
Pricing & Specs
💰 Pricing
Input$1.5 / M tokens
Output$10 / M tokens
⚙️ Specs
Context Length2M tokens
Model TypeMultimodal Large Language Model
MultimodalText, images, audio, video, PDF
Training Cutoff DateEarly 2025
ProviderGoogle AI Studio
API Examples
Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.xairouter.com/v1",
api_key="your-api-key"
)
response = client.chat.completions.create(
model="gemini-2.5-pro",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)cURL
curl https://api.xairouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "gemini-2.5-pro",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'Model Features
Gemini 2.5 Pro is Google's latest flagship model launched in 2025, reaching new heights in multimodal capabilities:
- Ultra-long Context: Supports up to 2 million tokens, capable of processing entire books or long videos
- Comprehensive Multimodal: Native support for multiple input types including text, images, audio, and video
- High Cost-effectiveness: Extremely competitive pricing while maintaining powerful performance
- Strong Reasoning: Excellent performance in reasoning and analysis tasks
Use Cases
- Long document and book analysis
- Video content understanding and summarization
- Multimodal content creation
- Large-scale codebase analysis
- Cross-modal information retrieval
Performance Advantages
Gemini 2.5 Pro, with its ultra-long context window and outstanding multimodal capabilities, has unique advantages in handling large-scale complex tasks. It's currently one of the most cost-effective top-tier models.