Gemini 2.5 Flash Lite API
Access Gemini 2.5 Flash Lite through one API key. Google's cheapest model.
Google's lightest Gemini model. Ultra-cheap inference for high-volume tasks with 1M context.
Takes 30 seconds.
Gemini 2.5 Flash Lite API pricing
Pay per request from your YepAPI balance — no subscription, no monthly minimum. Prices updated October 23, 2026.
| Token type | Price |
|---|---|
| Input | $0.15 / 1M tokens |
| Output | $0.59 / 1M tokens |
| Context window | 1.0M tokens |
| What it costs | Per job | Per 1,000 |
|---|---|---|
| Chat reply1K input + 500 output tokens | $0.0004 | $0.445 |
| RAG answer8K input + 800 output tokens | $0.0017 | $1.67 |
| Agent step with tools30K input + 2K output tokens | $0.0057 | $5.68 |
| Long document summary100K input + 2K output tokens | $0.016 | $16.18 |
4,900+
Developers
2.3M+
API calls served
184
Endpoints
$0.01
Per call
Yep, that's it.
Try it live
Send a message and see Gemini 2.5 Flash Lite respond in real time.
Maximum tokens in the response.
Real-time tokens
Gemini 2.5 Flash Lite specs
| Provider | |
|---|---|
| Model ID | google/gemini-2.5-flash-lite |
| Endpoint | /v1/ai/chat |
| Type | Text Generation |
| Context window | 1.05M tokens |
| Max output | 66K tokens |
| Reasoning | No |
| OpenAI-compatible | Yes — /v1/ai/chat/completions |
How to get a Gemini 2.5 Flash Lite API key
- 1
Create an account
Sign up at yepapi.com with Google or email. It takes about 30 seconds.
- 2
Create an API key
Open the dashboard, go to API Keys and create a key. Copy it — it starts with yep_sk_.
- 3
Call Gemini 2.5 Flash Lite
Send a request to /v1/ai/chat with the x-api-key header and model "google/gemini-2.5-flash-lite".
- 4
Pay as you go
Usage is billed per request from your balance. Top up any amount; there is no subscription.
Strengths
Google's lightest Gemini tier is tuned for fast, low-latency responses at scale.
At $0.15 per 1M input tokens, it is one of the cheapest large-context models available.
Supports a 1,048,576-token context window, unusually large for a budget-tier model.
Built for high-throughput workloads such as classification, extraction, and bulk generation.
Quick start
Copy this snippet and start making calls with Gemini 2.5 Flash Lite.
const res = await fetch('https://api.yepapi.com/v1/ai/chat', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "google/gemini-2.5-flash-lite",
"messages": [
{
"role": "user",
"content": "Explain API gateways in 2 sentences."
}
],
"maxTokens": 256
}),
});
const { data } = await res.json();
console.log(data.message.content);Gemini 2.5 Flash Lite vs similar models
Every model below runs on the same API key — switch by changing the model ID.
| Model | Provider | Price | Context |
|---|---|---|---|
| Gemini 2.5 Flash Lite | $0.15 in / $0.59 out per 1M | 1.0M | |
| Gemma 4 26B | $0.13 in / $0.44 out per 1M | 262K | |
| Gemma 4 31B | $0.30 in / $0.59 out per 1M | 262K | |
| Gemini 3.1 Flash Lite | $0.37 in / $2.22 out per 1M | 1.0M | |
| Gemini 2.5 Flash | $0.44 in / $3.69 out per 1M | 1.0M | |
| Gemini 3.5 Flash Lite | $0.44 in / $3.69 out per 1M | 1.0M | |
| Nemotron 3 Super | NVIDIA | $0 in / $0 out per 1M | 262K |
| Qwen3.7 Flash | Qwen | $0.04 in / $0.19 out per 1M | 1M |
Why use Gemini 2.5 Flash Lite through YepAPI?
Gemini 2.5 Flash Lite API: Google's cheapest 1M-context model
Gemini 2.5 Flash Lite is Google's lightest, cheapest Gemini tier, built for fast, high-volume inference while still offering a 1M-token context window. YepAPI serves it through one OpenAI-compatible endpoint.
Your single YepAPI key also reaches DeepSeek, Claude, Grok, Kimi, and more, plus SEO, SERP, and scraping endpoints, so cheap Gemini throughput can feed straight into your data work.
What is Gemini 2.5 Flash Lite?
Gemini 2.5 Flash Lite is the lightest model in Google's Gemini 2.5 family, optimized for ultra-cheap, fast inference on high-volume tasks. Despite being the budget tier, it keeps a 1,048,576-token context window and supports up to 65,535 output tokens, so it can ingest large documents while running at a fraction of the cost of heavier Gemini models. It is positioned for throughput-heavy workloads, classification, extraction, summarization, and bulk generation, where speed and low cost matter more than the deepest reasoning, while still benefiting from Google's broad training.
Build with Gemini 2.5 Flash Lite via YepAPI
Use YepAPI's OpenAI-compatible /v1/ai/chat endpoint with any OpenAI client; no Google-specific SDK needed. Set the base URL, add your key, and set the model string to Gemini 2.5 Flash Lite. Changing models is a single string swap. The same key reaches the full catalog, so you can run high-volume jobs on Flash Lite and route harder reasoning to other models, all from one integration and one bill.
Gemini 2.5 Flash Lite API pricing — $0.15 input / $0.59 output per 1M tokens
Gemini 2.5 Flash Lite costs $0.15 per 1M input tokens and $0.59 per 1M output tokens. For a model with a 1M-token context window, this is among the cheapest options anywhere, making large-context, high-volume processing genuinely affordable. Per-token billing keeps big batch jobs predictable, so you can scale classification and extraction pipelines without cost spikes.
Gemini 2.5 Flash Lite for high-volume classification and extraction
Flash Lite is built for the bulk end of the pipeline: classifying reviews, extracting structured fields from documents, summarizing large volumes of text, and generating short content at scale. The 1M context window lets it handle long inputs even at its budget price, and the low cost means you can run these jobs across millions of records while keeping latency low for near-real-time use cases.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
Google's lightest Gemini model. Ultra-cheap inference for high-volume tasks with 1M context.
Gemini 2.5 Flash Lite costs $0.15 per 1M input tokens and $0.59 per 1M output tokens through YepAPI, billed per request with no monthly fee. For example, a chat reply (1K input + 500 output tokens) costs about $0.0004.
Sign up at yepapi.com (Google or email, about 30 seconds), open the dashboard and create an API key. The same key works for Gemini 2.5 Flash Lite and every other model — no separate Google account or waitlist.
Use "google/gemini-2.5-flash-lite" as the model on /v1/ai/chat. The short alias "gemini-2.5-flash-lite" also works.
Yes. Point the OpenAI SDK at https://api.yepapi.com/v1/ai with your YepAPI key and set model to "google/gemini-2.5-flash-lite". Streaming works the same way, so existing OpenAI code only needs the base URL and key changed.
Gemini 2.5 Flash Lite supports a 1.0M token context window with up to 66K output tokens per request.
Explore more models
Gemini 3.8 Flash
GoogleAccess Gemini 3.8 Flash through one API key. Google Most Intelligent Flash.
Gemini 3.7 Flash
GoogleAccess Gemini 3.7 Flash through one API key. Google Fast Agentic Multimodal.
Gemini 4 Argon
GoogleAccess Gemini 4 Argon through one API key. Google Gemini 4 Flagship Reasoning.
DeepSeek V4 Pro
DeepSeekAccess DeepSeek V4 Pro through one API key. Frontier reasoning at a fraction of flagship pricing.
Grok 4.3
xAIAccess Grok 4.3 through one API key. xAI's latest model with 1M context.
Seed 1.6
ByteDanceAccess Seed 1.6 through one API key. Reliable model from ByteDance.
More Text Generation models
- Grok 4.6 API · xAI
- Grok 4.7 API · xAI
- Claude Opus 5 API · Anthropic
- GPT-5.2 Codex API · OpenAI
- GPT-5.6 Terra API · OpenAI
- GPT-6 Astra API · OpenAI
- GPT-6 Sol API · OpenAI
- DeepSeek V4 Pro 0813 API · DeepSeek
- GLM 5.3 Flash API · Z.ai
- Seed 1.6 Flash API · ByteDance
- Fugu Ultra v2 API · Sakana AI
- GPT-6.1 Sol Pro API · OpenAI