Google: gemini-2.5-pro-preview
gemini-2.5-pro-preview
Start building free
gemini-2.5-pro-preview is a multimodal large language model from Google’s Gemini family, positioned in the high-end “Pro” tier. As a preview model, it exposes early access to the next generation of Gemini capabilities, including strong reasoning, coding, and handling of both text and images, with a relatively large context window compared to lighter variants. It is designed as a general-purpose workhorse for production-oriented applications and advanced prototyping, trading higher cost and compute usage for better quality, tool use, and complex task handling. The model is typically accessed via Google AI Studio and Gemini API, and is intended for developers who want cutting-edge capabilities before a fully general-availability release.
Pricing
Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.
Included in plans
Statistics
Live performance and usage of this model, aggregated across all users.
Detailed statistics appear here as soon as this model starts receiving requests.
API
Call this model from any OpenAI-compatible client using your API token.
curl https://apiex.cloud/api/v1/chat/completions \
-H "Authorization: Bearer $NEW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-2.5-pro-preview",
"messages": [
{
"role": "user",
"content": "Explain quantum entanglement in one paragraph."
}
],
"temperature": 0.7
}'
Authentication
Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — its access to models is set automatically from your active plans and redeemed codes, and you can set its rate limit and IP restrictions.
| Parameter | Type | Description |
|---|---|---|
model | string, required | This model's ID, exactly as shown above. |
messages | array, required | Conversation history as role/content objects (system, user, assistant). |
temperature | number, optional | Sampling randomness, typically 0–2. |
max_tokens | integer, optional | Upper limit on tokens generated in the reply. |
top_p | number, optional | Nucleus-sampling threshold, as an alternative to temperature. |
stream | boolean, ignored | Responses are always returned in full so the exact cost can be billed; streaming is not available. |
Replace YOUR_API_KEY with a token from your account, then see the full API reference for every parameter.
Frequently asked questions
What is gemini-2.5-pro-preview?
gemini-2.5-pro-preview is a multimodal large language model from Google’s Gemini family, positioned in the high-end “Pro” tier. As a preview model, it exposes early access to the next generation of Gemini capabilities, including strong reasoning, coding, and handling of both text and images, with a relatively large context window compared to lighter variants. It is designed as a general-purpose workhorse for production-oriented applications and advanced prototyping, trading higher cost and compute usage for better quality, tool use, and complex task handling. The model is typically accessed via Google AI Studio and Gemini API, and is intended for developers who want cutting-edge capabilities before a fully general-availability release.
How much does gemini-2.5-pro-preview cost?
Input tokens are priced at $1,50 per 1,000,000 tokens and output tokens at $12,00 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.
What is the context length of gemini-2.5-pro-preview?
gemini-2.5-pro-preview supports a context window of up to 1,048,576 tokens.
Does gemini-2.5-pro-preview support image input?
gemini-2.5-pro-preview currently accepts text input only.
Which provider is gemini-2.5-pro-preview from?
gemini-2.5-pro-preview is developed by Google and made available on this gateway through our routing infrastructure.
When was gemini-2.5-pro-preview added to this gateway?
gemini-2.5-pro-preview has been available on this gateway since September 23, 2026.
Is gemini-2.5-pro-preview currently available?
Yes, gemini-2.5-pro-preview is active and can be used right now through this gateway.