Google · Reasoning
Gemini 2.5 Pro Preview 06-05
google/gemini-2.5-pro-preview
Gemini 2.5 Pro is Google’s state-of-the-art AI model designed for advanced reasoning, coding, mathematics, and scientific tasks.
Input Price / 1M Tokens
$1.52
Output Price / 1M Tokens
$12.20
Context Window
1.0M
VisionToolsReasoningLong Context
Python Example — google/gemini-2.5-pro-preview
from openai import OpenAI
client = OpenAI(
base_url="https://relaystack-ai.vercel.app/v1",
api_key="sk-rs-your-key-here",
)
response = client.chat.completions.create(
model="google/gemini-2.5-pro-preview",
messages=[{"role": "user", "content": "Hello from RelayStack!"}],
)
print(response.choices[0].message.content)