Published: · Updated:
Exact ID: gemini-2.5-pro. Models available to your key: GET /v1/models.
Gemini 2.5 Pro API pricing
| API429 price | Official Google price (Standard) |
|---|---|
$0.375000000000 / 1,000,000 cache-write input tokens $0.375000000000 / 1,000,000 cached input tokens $0.375000000000 / 1,000,000 input tokens $3.000000000000 / 1,000,000 output tokens | $1.25 / $10 per 1M ordinary input / output tokens Standard; text; input ≤200,000 tokens Manufacturer sourceChecked: Oct 24, 2026. Cache, tools and special modes are excluded from this rate pair. |
API429 prices as of the catalog dated .
Cost calculator for Gemini 2.5 Pro
Ordinary input and output are counted, excluding cache, tools, fees and repeated calls. This estimates spending; it does not validate whether a request is accepted. RUB results use only your entered rate; they are neither a bank quote nor a top-up amount.
Context and capabilities of Gemini 2.5 Pro
The manufacturer specifies an input limit of 1,048,576 and a maximum output of 65,536 tokens for its own API (specification: Google, checked Oct 24, 2026, 6:11 AM UTC). These are manufacturer limits, not verified effective API429 limits: test very long contexts on your own request.
API429 capabilities published for this exact ID: chat reasoning search . Test any mode missing from this list on your own request.
Practical task: long-document extraction
Prepare a document with numbered sections and a predefined field list. Require a quote and section number for each value, leaving absent information unresolved. Compare the full document with selected relevant passages: reducing input may change both the pricing tier and extraction coverage, so evaluate the tradeoff explicitly.
Exact version and lifecycle
According to Google documentation reviewed on 2026-10-24, the stable version was released on June 17, 2025; no shutdown date is announced in the checked table. Google direct access to 2.5 is restricted to previously active users. A public API429 card does not confirm access under a specific key or alter manufacturer conditions.
Context, output and ordinary token budget
According to Google documentation reviewed on 2026-10-24, the manufacturer specifies separate limits of 1,048,576 input tokens and 65,536 output tokens. Output is not subtracted from the input-only limit in this description. Standard text is $1.25/$10 per million input/output tokens up to and including 200,000 input tokens. Above that threshold, $2.50/$15 applies to the entire request. Include resending the document when estimating the cost of correcting a failed extraction.
Alternatives for a controlled comparison
gemini-3.1-pro-preview is a candidate for preview prompt stability evaluation. grok-4.6 is a candidate for planning a long coding and knowledge task. gpt-5.6-sol is a candidate for evidence-based document synthesis.
Speed and errors of Gemini 2.5 Pro over 24 hours
Over the last 24 hours: mean successful response time — 5.6 s; service error rate — 0%. Data as of .
Source: public 24-hour statistics. The mean is neither a median nor a response time guarantee.
How to connect Gemini 2.5 Pro: curl, Python, JavaScript
Create a key, check your balance and set API429_API_KEY on the server. The request is paid from your balance; Python and JavaScript first check that the model is available to your key.
curl
Before generation, check the exact ID in the response from GET https://gateway.api429.com/v1/models using the same Bearer key.
curl --fail-with-body https://gateway.api429.com/v1/chat/completions \
-H "Authorization: Bearer $API429_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-2.5-pro","messages":[{"role":"user","content":"Document: [1] Delivery takes 15 days. [2] No owner has been assigned. Extract delivery time and owner with supporting quotes; mark missing values as not stated."}],"max_tokens":512,"stream":false}'Python 3
import json
import os
import urllib.request
key = os.environ["API429_API_KEY"]
base = "https://gateway.api429.com/v1"
headers = {"Authorization": "Bearer " + key, "Content-Type": "application/json"}
models_request = urllib.request.Request(base + "/models", headers=headers)
with urllib.request.urlopen(models_request, timeout=30) as response:
available = {item["id"] for item in json.load(response)["data"]}
model = "gemini-2.5-pro"
if model not in available:
raise ValueError("Model is unavailable to this key")
payload = json.loads("{\"model\":\"gemini-2.5-pro\",\"messages\":[{\"role\":\"user\",\"content\":\"Document: [1] Delivery takes 15 days. [2] No owner has been assigned. Extract delivery time and owner with supporting quotes; mark missing values as not stated.\"}],\"max_tokens\":512,\"stream\":false}")
request = urllib.request.Request(base + "/chat/completions",
data=json.dumps(payload).encode("utf-8"), headers=headers, method="POST")
with urllib.request.urlopen(request, timeout=60) as response:
result = json.load(response)
choice = result["choices"][0]
if choice.get("finish_reason") != "stop" or not choice.get("message", {}).get("content"):
raise ValueError("Incomplete or empty response")
print(choice["message"]["content"])
print(result.get("usage"))JavaScript: Node.js 18+
const key = process.env.API429_API_KEY;
if (!key) throw new Error("Set API429_API_KEY");
const base = "https://gateway.api429.com/v1";
const headers = { Authorization: "Bearer " + key, "Content-Type": "application/json" };
const model = "gemini-2.5-pro";
const available = await fetch(base + "/models", { headers, signal: AbortSignal.timeout(30000) });
if (!available.ok) throw new Error("Models HTTP " + available.status);
if (!(await available.json()).data.some(item => item.id === model)) throw new Error("Model unavailable to this key");
const response = await fetch(base + "/chat/completions", {
method: "POST", headers, signal: AbortSignal.timeout(60000),
body: JSON.stringify({"model":"gemini-2.5-pro","messages":[{"role":"user","content":"Document: [1] Delivery takes 15 days. [2] No owner has been assigned. Extract delivery time and owner with supporting quotes; mark missing values as not stated."}],"max_tokens":512,"stream":false})
});
if (!response.ok) throw new Error("Generation HTTP " + response.status);
const result = await response.json();
const choice = result.choices?.[0];
if (choice?.finish_reason !== "stop" || !choice?.message?.content) throw new Error("Incomplete or empty response");
console.log(choice.message.content);
console.log(result.usage);The examples use basic fields from the published API contract.
Gemini 2.5 Pro in n8n: HTTP Request
- Create an HTTP Request with method POST and URL
https://gateway.api429.com/v1/chat/completions. - Store the Bearer key in credentials; add
Content-Type: application/json. Do not put the key in an exported workflow example. - Send the JSON from curl: the exact model
gemini-2.5-pro, messages, max_tokens and stream=false. - After the HTTP node, check
choices,finish_reasonand the response content before writing the result to your production system.
Alternatives to Gemini 2.5 Pro: similar models and prices
Compare them on the same task. Prices apply to a short text request; see the catalog for full pricing.
| Model | API429: input / output per 1M tokens |
|---|---|
Gemini 3.1 Pro Previewgemini-3.1-pro-preview | $0.6 / $3.6 |
Grok 4.6grok-4.6 | $0.6 / $1.8 |
GPT 5.6 Solgpt-5.6-sol | $1.5 / $9 |
Version and release date
Manufacturer API release date, Google: . The exact predecessor has not been established in the reviewed sources.
Payment and a $10 test
- Russian bank card. Top up your balance in the account.
- Invoice for companies. Bank transfer with closing documents.
- USDT and TON. Top up in crypto.
$10 test credit. Subscribe to our Telegram channel through the bot and get $10 on your balance for the first requests. Get $10 in the bot
Frequently asked questions
Why do 200,000 and 200,001 produce different Pro rates?
According to Google documentation reviewed on 2026-10-24, the $1.25/$10 per million input/output lower tier includes 200,000 input tokens. From 200,001, $2.50/$15 applies to the whole request. For long-document extraction, measure the completed prompt including instructions and examples rather than considering the source document alone.
Should output be subtracted from the Gemini 2.5 Pro input limit?
The checked specifications give separate limits of 1,048,576 input and 65,536 output tokens. Do not replace the input maximum with a combined total. These manufacturer figures support document planning but do not confirm acceptance of the same volume under your API429 key.
How can I detect an invented extracted value?
Require a quote and section number for every field. In the example, no owner is assigned: an acceptable extraction preserves that absence instead of inserting a name from general context. Annotate deliberately missing fields and count false completions separately from omitted valid values.
What is known about direct Pro access and shutdown?
According to Google documentation reviewed on 2026-10-24, Google restricts direct 2.5-family access to previously active users. Pro was released on June 17, 2025 and no shutdown date is announced in the checked table. Neither statement establishes entitlement or present availability for a particular API429 key.
Sources and review
- ai.google.dev/gemini-api/docs/models/gemini-2.5-pro
- ai.google.dev/gemini-api/docs/pricing
- ai.google.dev/gemini-api/docs/deprecations
- gateway.api429.com/api/public/openapi.json
Editorial review: . Pricing and general calculator · Getting started · Compare the family: Gemini
