Gemini 2.5 Pro API
LLMThe Gemini 2.5 Pro API is the non-preview Pro option with 1M context, vision, and tool use.
- Input · <=200K$0.5 USDOfficial price
$1.25 USD - Output · <=200K$4 USDOfficial price
$10 USD - Input · 200K-1M$1 USDOfficial price
$2.5 USD - Output · 200K-1M$6 USDOfficial price
$15 USD - Savings60%
- Context1M
- ReleasedMar 25, 2025
- Prices checkedNov 30, 2026
- View tool pricing and billing rules
What are we making today?
Bring an idea, a question, or a first draft.
01
What this model is for
The Gemini 2.5 Pro API is the non-preview Pro option with 1M context, vision, and tool use.
Gemini 2.5 Pro is the settled 2.5-generation Pro model from Google, carried in the OmniaKey catalog without a preview marker. It lists a 1M-token context window, image input, tool use, and the same three coding clients as the rest of the Gemini line. Its catalog id is gemini-2.5-pro. Two newer Pro entries sit above it: Gemini 3.1 Pro Preview and Gemini 4 Argon, both from later generations, while Gemini 3.8 Flash covers the cheaper tier.
The practical argument for keeping it is the entry rate. Below 200,000 input tokens it is the least costly Pro listing in the family, and it is a released id rather than a trial one. Above that mark a second tier applies to the whole request, which makes 2.5 Pro a poor fit for pushing a million tokens through in one call but a sound one for a large excerpt plus a careful question. Compare it with Argon before committing to long prompts, since Argon keeps one rate for the full window.
Its 2.5-generation position also decides the migration question. Existing harnesses, prompt libraries and pinned client configurations were often written against this id, and moving them costs replay work. Where that work has not been done, 2.5 Pro continues to serve image and tool tasks at a lower entry rate than either newer Pro model, and a fallback to a Flash id stays available if the volume grows.
Best-fit coding workloads
Prompts that stay under 200,000 tokens
Review a forty-file excerpt, a design document set or a batch of support threads while holding the request inside the first price tier. The 1M window gives room for retrieval-friendly padding, and 2.5 Pro sits at the lowest entry rate among the Pro ids. Practical tip: print the prompt token count before every call and keep a hard ceiling in code.
Screenshot bug reports
Attach a failing screen, the console text and the component source, then ask for a ranked list of causes. Vision plus tool use lets the model tie what it sees to the code it can read. Practical tip: crop the screenshot to the faulty region so the visual claim is checkable against a single element.
Replaying a pinned 2.5 setup
Keep a stored evaluation set on gemini-2.5-pro while a newer generation is tried beside it, so the comparison uses one scoring script and one prompt library. Practical tip: record configuration and retry policy with each run, and treat any edit to the prompt library as a new baseline.
02
Technical specification
Catalog facts and integration details verified for this route.
- Model ID
- gemini-2.5-pro
- Context
- 1M
- Inputs and tools
- Vision · Tool use
- API endpoint
- /v1/chat/completions
- Cache hit / 1M
- $0.05 USD
- Coding clients
- Cursor · Cline · Aider
Limits to plan around
- The second price tier starts at 200,000 input tokens and applies to the full request, so a long prompt costs more than a split one. Trim, retrieve or chunk before the threshold rather than after the bill arrives.
- The catalog marks vision and tool use only. It lists no batch mode, no fine-tuning and no explicit reasoning-level parameter for this id, so do not copy 3.8 Flash thinking settings onto it.
- The 1M figure is a maximum listing. What a client, a proxy or your own retrieval layer will accept in one body can be smaller, and answer quality on a mostly irrelevant 1M-token prompt is not implied by the number.
03
Compare nearby models
Compare workload fit and current listed token rates before choosing a route.
| Model | Best for | Context | Input | Output |
|---|---|---|---|---|
| Gemini 2.5 ProThis page gemini-2.5-pro | A released Pro id with the lowest entry rate in the family, best for prompts that stay under 200,000 tokens. | 1M | $0.5 USD Official price $1.25 USD | $4 USD Official price $10 USD |
| Gemini 3.1 Pro Preview gemini-3.1-pro-preview | The preview of the next Pro generation, with higher rates in both tiers and a preview marker on the id. | 1M | $0.8 USD Official price $2 USD | $4.8 USD Official price $12 USD |
| Gemini 4 Argon gemini-4-argon | One flat rate for the whole window, plus video and audio input and a newer generation. | 1M | $1.6 USD Official price $4 USD | $8 USD Official price $20 USD |
04
SDK quickstarts
Use one base URL and model ID from cURL, Python, or TypeScript.
curl https://api.omniakey.com/v1/chat/completions \
-H "Authorization: Bearer $OMNIAKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-2.5-pro",
"messages": [
{"role": "user", "content": "Review this pull request"}
],
"stream": true
}'05
Estimate token cost
Enter expected input and output tokens to compare current listed rates.
- OmniaKey estimate
- $0.13
- Official-rate estimate
- $0.325
- Estimated savings
- $0.195
Estimate covers input and output tokens only. Cache usage, retries, tools, and client-side token accounting can change the final charge.
06
Related coding guides
Deeper selection, setup, and troubleshooting guidance for this model family.
Gemini 4 Argon review: a powerful launch, not a public API yet
Argon looks like a serious frontier upgrade, but the sensible launch-day decision is to evaluate the evidence and wait for a callable contract before migrating production traffic.
Read guideGemini 3.8 Flash API Pricing and Agent Cost
Google's introductory rate is $0.75 input and $3.75 output per million tokens, but retries and thinking decide the cost of an accepted result.
Read guide07
Sources and verification
Model facts and links were checked on 2026-10-27. Provider documentation remains the authority for upstream behavior.
Cache and batch prices
What OmniaKey bills per 1M tokens of cached input on Gemini 2.5 Pro.
- Cache read · <=200K
- $0.05 USD
- Cache read · 200K-1M
- $0.1 USD
- Batch API
- Not available on OmniaKey.Google's own Batch API bills 50% of standard prices.
Google caches repeated prompt prefixes automatically, and cached input is billed at the cache-read price.
Common errors
The errors OmniaKey users hit most often, from our production logs. Each message appears as the API returns it.
HTTP 403
Insufficient quota- Cause
- Your OmniaKey balance has run out.
- Fix
- Top up your balance. The same API key works again right away.
HTTP 403
insufficient quota for pre-charge- Cause
- Before a request runs, OmniaKey reserves its largest possible cost, which grows with the prompt and max_tokens. Your balance is below that amount.
- Fix
- Top up, or lower max_tokens.
HTTP 401
Invalid token- Cause
- The request carries no API key, or a key that does not exist.
- Fix
- Copy the key from your dashboard again and check that your client sends it.
HTTP 503
No available channel for model <model> under group <group>- Cause
- The model name does not match one OmniaKey serves, often because of a dot or a capital letter, such as claude-sonnet-5.5 for claude-sonnet-5-5. It also appears when every supplier of the model is unavailable.
- Fix
- Use the exact model ID, gemini-2.5-pro. If it already matches, retry later or switch models.
HTTP 524
524: A timeout occurred- Cause
- No data came back for about 100 seconds, so Cloudflare closed the connection. Long answers without streaming run into this.
- Fix
- Set stream to true, so tokens arrive while the answer is written.
Frequently asked questions
How much does Gemini 2.5 Pro cost on OmniaKey?
Rates vary with input context length: <=200K: Input $0.5 USD, Output $4 USD, Cache hit / 1M $0.05 USD; 200K-1M: Input $1 USD, Output $6 USD, Cache hit / 1M $0.1 USD.
What is the context window for Gemini 2.5 Pro?
The listed context window is 1M. Actual usable limits can also depend on the client and upstream request format.
How is Gemini 2.5 Pro billed on OmniaKey?
Per input and output token, with cached input at its own lower rate, and two bands by prompt length. Requests up to 200,000 input tokens use the first band; anything above that is billed at the higher second band for the whole request. Current rates are listed in the price table on the model page.
What model id do I send for Gemini 2.5 Pro?
Use gemini-2.5-pro in the model field of a POST to https://api.omniakey.com/v1/chat/completions. The dot is part of the id and the string is case-sensitive. The same key works for the other listed Gemini models if you want to run a comparison beside it.
Is Gemini 2.5 Pro still worth using in 2026?
For work that already pins the id and keeps prompts in the lower band, yes: it is a released Pro model at the family's lowest entry rate, with vision and tool use. For new long-document or video work, Gemini 4 Argon is the better starting point, and Gemini 3.8 Flash costs less on high-volume loops.
Does Gemini 2.5 Pro read images and call tools?
The catalog lists both vision and tool use, and names Cursor, Cline and Aider as clients. Images travel as content parts next to text in the same message. Test your own tool schema against the model before automation, because argument formatting differs between clients even when the endpoint is shared.
What separates Gemini 2.5 Pro from Gemini 3.1 Pro Preview?
Status and rates. This id is the released 2.5-generation model, while the other carries a preview marker on a later generation. The preview lists higher rates in both prompt-length bands, including cached input. Both list a 1M window, image input and tool use, so the choice usually comes down to pinning and billing.