YepAPI
GoogleText Generation/v1/ai/chat

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 typePrice
Input$0.15 / 1M tokens
Output$0.59 / 1M tokens
Context window1.0M tokens
What it costsPer jobPer 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.

POST/v1/ai/chat

Maximum tokens in the response.

Real-time tokens

Hit "Send Request" to see the response

Gemini 2.5 Flash Lite specs

ProviderGoogle
Model IDgoogle/gemini-2.5-flash-lite
Endpoint/v1/ai/chat
TypeText Generation
Context window1.05M tokens
Max output66K tokens
ReasoningNo
OpenAI-compatibleYes — /v1/ai/chat/completions

How to get a Gemini 2.5 Flash Lite API key

  1. 1

    Create an account

    Sign up at yepapi.com with Google or email. It takes about 30 seconds.

  2. 2

    Create an API key

    Open the dashboard, go to API Keys and create a key. Copy it — it starts with yep_sk_.

  3. 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. 4

    Pay as you go

    Usage is billed per request from your balance. Top up any amount; there is no subscription.

Strengths

✓
Speed

Google's lightest Gemini tier is tuned for fast, low-latency responses at scale.

✓
Cost-effective

At $0.15 per 1M input tokens, it is one of the cheapest large-context models available.

✓
Large context

Supports a 1,048,576-token context window, unusually large for a budget-tier model.

✓
High volume

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.

ModelProviderPriceContext
Gemini 2.5 Flash LiteGoogle$0.15 in / $0.59 out per 1M1.0M
Gemma 4 26BGoogle$0.13 in / $0.44 out per 1M262K
Gemma 4 31BGoogle$0.30 in / $0.59 out per 1M262K
Gemini 3.1 Flash LiteGoogle$0.37 in / $2.22 out per 1M1.0M
Gemini 2.5 FlashGoogle$0.44 in / $3.69 out per 1M1.0M
Gemini 3.5 Flash LiteGoogle$0.44 in / $3.69 out per 1M1.0M
Nemotron 3 SuperNVIDIA$0 in / $0 out per 1M262K
Qwen3.7 FlashQwen$0.04 in / $0.19 out per 1M1M

Why use Gemini 2.5 Flash Lite through YepAPI?

✓One API key for all models — no separate accounts
✓OpenAI SDK compatible — just change the base URL
✓No monthly minimums — pay per token
✓Switch models with one line of code
✓Full provider passthrough — citations, search results, and all extras included
✓Streaming and non-streaming support on every model
✓Works with Cursor, Claude, LangChain, and any LLM tool
✓Unified billing across all providers

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.

Start generating in 30 seconds

Pay per call, no subscriptions.

What developers say

“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”

Marcus T.

SEO Platform Founder

“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”

Priya S.

Full-Stack Developer

“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”

Jake R.

Indie Hacker

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.

Ready to use Gemini 2.5 Flash Lite?

Pay per call, no subscriptions.

Explore more models