gemini-2.5-pro
NixAPI price, from
USD per 1M tokens · via group Anti-Gemini-1 · Official list price $1.25 / $10Save 88%
About gemini-2.5-pro
Gemini 2.5 Pro is Google's latest and most advanced AI model, excelling at coding and complex prompts. Through deep thinking, it reasons before responding to boost performance and accuracy. The model tops multiple benchmarks and ranks first on the LMArena leaderboard for reasoning and code generation. Supports multimodal input including text, images, audio, video, and code.
Price by routing group
Pick a group in the console when you create a key. Status is live from the router. Live status by group →
| Group | Group status | Model status | Multiplier | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|---|---|
Anti-Gemini-1 | … | ×0.1243 | $0.1553 | $1.243 | $0.0155 | — | |
Cli-Gemini-1 | … | ×0.1243 | $0.1553 | $1.243 | $0.0155 | — | |
Vertex-Gemini-1 | … | ×0.338 | $0.4225 | $3.38 | $0.0423 | — | |
Aistudio-Gemini-2 | … | ×0.4474 | $0.5592 | $4.474 | $0.0559 | — | |
Aistudio-Gemini-3 | … | ×0.7456 | $0.932 | $7.456 | $0.0932 | — | |
Vertex-Gemini-2 | … | ×0.7605 | $0.9506 | $7.605 | $0.0951 | — | |
Vertex-Gemini-3 | … | ×1.521 | $1.901 | $15.21 | $0.1901 | — | |
Aistudio-Gemini-4 | … | ×1.6155 | $2.019 | $16.155 | $0.2019 | — |
USD per 1M tokens
Long-context pricing
- Prompts over 200,000 tokens: input ×2, output ×1.5
Supported endpoints
Call gemini-2.5-pro in one request
Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.
curl https://api.nixapi.com/v1/chat/completions \
-H "Authorization: Bearer $NIXAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-2.5-pro",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.nixapi.com/v1", api_key="sk-…")
resp = client.chat.completions.create(
model="gemini-2.5-pro",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.nixapi.com/v1', apiKey: process.env.NIXAPI_KEY });
const resp = await client.chat.completions.create({
model: "gemini-2.5-pro",
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(resp.choices[0].message.content);Questions about gemini-2.5-pro
How much does gemini-2.5-pro cost on NixAPI?
From $0.1553 per 1M input tokens and $1.243 per 1M output tokens in the Anti-Gemini-1 group, about 88% below the official list price. Prices are pay-as-you-go in USD with no monthly minimum.
How do I call gemini-2.5-pro?
Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "gemini-2.5-pro".
Which routing groups serve gemini-2.5-pro?
gemini-2.5-pro is available in 8 routing groups: Anti-Gemini-1, Cli-Gemini-1, Vertex-Gemini-1, Aistudio-Gemini-2, Aistudio-Gemini-3, Vertex-Gemini-2, Vertex-Gemini-3, Aistudio-Gemini-4. The lowest price is in Anti-Gemini-1.