Published: · Updated:
Exact ID: gemini-2.5-flash-lite. Models available to your key: GET /v1/models.
Gemini 2.5 Flash-Lite API pricing
| API429 price | Official Google price (Standard) |
|---|---|
$0.030000000000 / 1,000,000 cache-write input tokens $0.030000000000 / 1,000,000 cached input tokens $0.030000000000 / 1,000,000 input tokens $0.120000000000 / 1,000,000 output tokens | $0.1 / $0.4 per 1M ordinary input / output tokens Standard; text 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 Flash-Lite
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 Flash-Lite
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 search . Test any mode missing from this list on your own request.
Practical task: maintaining a budget baseline
Use short repeated tasks such as extracting a support topic, normalizing a note or locating a missing field. Measure accepted results and the cost of reprocessing failures. Define a manual review path for difficult records. A low token rate does not establish quality or remove the need to check facts.
Exact version and lifecycle
According to Google documentation reviewed on 2026-10-24, this stable version was released on July 22, 2025. No shutdown date is announced in the checked table. Google direct access to the 2.5 family is restricted to previously active users; that manufacturer condition establishes neither availability nor entitlement for an individual API429 key.
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. The manufacturer ordinary text tariff is $0.10 per million input tokens and $0.40 per million output tokens. Audio, cache and separately billed operations are outside this calculation; do not carry a text quotation into another modality.
Alternatives for a controlled comparison
gemini-2.5-pro is a candidate for long-document extraction. gemini-3.6-flash is a candidate for regression testing an existing Flash workflow. claude-opus-4-8 is a candidate for an established bug-fixing workflow.
Speed and errors of Gemini 2.5 Flash-Lite over 24 hours
Over the last 24 hours: mean successful response time — 3.5 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 Flash-Lite: 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-flash-lite","messages":[{"role":"user","content":"From the note The customer requests an invoice but the company name is missing, extract the topic and one missing field. Return two short lines without additions."}],"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-flash-lite"
if model not in available:
raise ValueError("Model is unavailable to this key")
payload = json.loads("{\"model\":\"gemini-2.5-flash-lite\",\"messages\":[{\"role\":\"user\",\"content\":\"From the note The customer requests an invoice but the company name is missing, extract the topic and one missing field. Return two short lines without additions.\"}],\"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-flash-lite";
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-flash-lite","messages":[{"role":"user","content":"From the note The customer requests an invoice but the company name is missing, extract the topic and one missing field. Return two short lines without additions."}],"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 Flash-Lite 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-flash-lite, 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 Flash-Lite: 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 2.5 Progemini-2.5-pro | $0.375 / $3 |
Gemini 3.6 Flashgemini-3.6-flash | $0.225 / $1.125 |
Claude Opus 4.8claude-opus-4-8 | $1.5 / $7.5 |
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
Is 2.5 Flash-Lite open to every new Google user?
According to Google documentation reviewed on 2026-10-24, the checked Google documentation restricts direct 2.5 access to previously active users. This manufacturer condition must not become an API429 access promise. Check the exact ID with your key; a public price card does not establish eligibility or access for a particular account.
What does a Flash-Lite budget baseline measure?
Use simple repeated extraction of a topic and a missing field, as in the invoice example with no company name. Measure correctness for both fields and the proportion needing manual repair. A low rate is useful only alongside acceptable results on your evaluation set.
Is there a text surcharge above 200,000 input tokens?
According to Google documentation reviewed on 2026-10-24, the checked Flash-Lite ordinary text tariff is $0.10/$0.40 per million input/output tokens; the Pro tier must not be transferred to it. Do not price separate audio or cache operations using this pair. Preserve exact identity and billing units when comparing records and larger packets.
Does stable status mean the model cannot be shut down?
No. According to Google documentation reviewed on 2026-10-24, this version was released on July 22, 2025 and no shutdown date is announced in the checked table. That describes the source at review time. Keep your baseline dataset and revisit lifecycle information before a later migration or workload expansion.
Sources and review
- ai.google.dev/gemini-api/docs/models/gemini-2.5-flash-lite
- 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
