Gemini 2.5 Pro API pricing
$0.75 in, $6.00 out per million tokens, 40% under Google's list price.
gemini-2.5-promanaged routeGemini SDKOpenAI SDK
Price · per million tokens, USD
| Tokens | Google list price | UplinkSwitch | Saving |
|---|---|---|---|
| Input | $1.25 | $0.75 | -40% |
| Cached input | $0.125 | $0.075 | -40% |
| Output | $10.00 | $6.00 | -40% |
List price: Google's published rate, read October 2026. Same price on every host.
Real-model check: Same fingerprint since Oct 14
Gemini 2.5 Pro specs
- Context window
- 1,048,576 tokens
- Max output
- 65,536 tokens
- Input
- text, image, audio and video
- Released
- June 17, 2025
Gemini 2.5 Pro API · base URL and key
Python · OpenAI SDK
from openai import OpenAI
client = OpenAI(
base_url="https://api.uplinkswitch.com/v1",
api_key="sk-uplink-live-...",
)
completion = client.chat.completions.create(
model="gemini-2.5-pro",
messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)TypeScript · OpenAI SDK
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.uplinkswitch.com/v1',
apiKey: 'sk-uplink-live-...',
});
const completion = await client.chat.completions.create({
model: 'gemini-2.5-pro',
messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);Python · Gemini SDK
from google import genai
client = genai.Client(
api_key="sk-uplink-live-...",
http_options={"base_url": "https://api.uplinkswitch.com/v1"},
)
response = client.models.generate_content(
model="gemini-2.5-pro",
contents="Summarize this in one line.",
)
print(response.text)curl
curl "https://api.uplinkswitch.com/v1beta/models/gemini-2.5-pro:generateContent" \
-H "x-goog-api-key: sk-uplink-live-..." \
-H "content-type: application/json" \
-d '{"contents":[{"parts":[{"text":"Hello"}]}]}'What would it cost? · paste a prompt, priced before you send it
Input is counted at about 4 characters per token.
Cheapest first. A real request is billed on the provider's own token count. Same estimate as JSON: POST https://api.uplinkswitch.com/v1/estimate, no key needed.
More from Google
Compare: Gemini 2.5 Pro vs Gemini 3.1 Pro Preview.
Gemini 2.5 Pro questions
- How much does the Gemini 2.5 Pro API cost?
- $0.75 per million input tokens and $6.00 per million output tokens, with cached input at $0.075. Google's list price is $1.25 and $10.00, so this is 40% under Google's list price.
- Is Gemini 2.5 Pro free?
- It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0038.
- What is the Gemini 2.5 Pro context window?
- Gemini 2.5 Pro has a 1,048,576-token context window, with up to 65,536 output tokens per request. It takes text, image, audio and video input.
- What is the Gemini 2.5 Pro model id?
- gemini-2.5-pro. Send it as the model through the Gemini SDK or OpenAI SDK with base URL https://api.uplinkswitch.com/v1.
- Is it the real Gemini 2.5 Pro?
- Every day each model gets the same test prompt, and a model always counts that prompt the same way; a swapped one would not. Gemini 2.5 Pro's latest result: Same fingerprint since Oct 14.