Skip to content
Pricing
Google

gemini-2.5-flash Lite API

Gemini 2.5 Flash-Lite focuses on lightweight, high-volume tasks such as classification and data extraction, with cost and latency as its main design priorities.

MODALITIES
TextText
Temporarily unavailable
INPUT / OUTPUT75% OFF
$0.025/ 1M
/
$0.1/ 1M
USD per million tokens
CACHED INPUT
$0.0025/ 1M
Platform price · USD
CONTEXT WINDOW
128,000tokens
Max output: 16,384 tokens

API Usage Examples

API documentation ↗
POSTGet API Key ↗
curl 'https://vip.astralgames.ai/v1beta/models/gemini-2.5-flash-lite:generateContent' \
  -H "Content-Type: application/json" \
  -H "x-goog-api-key: $MODEL_API_KEY" \
  --data '{
  "contents": [
    {
      "role": "user",
      "parts": [
        {
          "text": "Explain how an HTTP request works in three concise steps."
        }
      ]
    }
  ],
  "generationConfig": {
    "maxOutputTokens": 1024
  }
}'

Set MODEL_API_KEY in your server environment. Requests use this model’s native API and your account pricing.

Docs: authentication and keys · Error handling

gemini-2.5-flash Lite pricing

Estimate one request, then choose a budget for your workflow.

UsageQuantityRateCost
tokens$0.025/ 1M$0.000025
tokens$0.0025/ 1M$0
tokens$0.1/ 1M$0.00005
tokens$0.1/ 1M$0
Cost per request$0.000075

Public USD estimate. Your account rate and final recorded usage determine the actual charge.

Model pricing details
SpecificationOur priceOfficial reference
Input$0.025 / 1M tokens$0.1 About 75% less than official
Cached input$0.0025 / 1M tokens$0.01 About 75% less than official
Output$0.1 / 1M tokens$0.4 About 75% less than official
Reasoning$0.1 / 1M tokens$0.4 About 75% less than official

gemini-2.5-flash Lite API · Examples

Original prompts adapted to documented capabilities; these are not vendor-generated outputs.

Official source ↗ · 2026-10-18

EXAMPLE PROMPT

Classify each feedback item as usability, reliability, billing or other. Include a short supporting quote and flag ambiguous items. Feedback: [paste text]

USER MESSAGE
01

Feedback classification

Apply explicit categories to a batch of short inputs.

EXAMPLE PROMPT

Extract the product, reported problem and requested action from each ticket. Return a JSON array; use null for missing facts. Tickets: [paste tickets]

USER MESSAGE
02

Support ticket extraction

Use a fixed output structure and preserve missing information.

What Is gemini-2.5-flash Lite?

Gemini 2.5 Flash-Lite focuses on lightweight, high-volume tasks such as classification and data extraction, with cost and latency as its main design priorities.

Official model information ↗ · 2026-10-18

gemini-2.5-flash Lite Platform specifications

Specificationgemini-2.5-flash Lite
Model IDgemini-2.5-flash-lite
ProviderGoogle
API/v1beta/models/{model}:generateContent · /v1beta/models/{model}:streamGenerateContent · /v1/interactions · /v1beta/interactions
Context window128,000 tokens
Maximum output16,384 tokens
Declared capabilitiesSee the native API contract
Protocol & capability details

Protocol & capabilities

gemini · gemini-2.5-flash-lite

Context limit
128000
Maximum output
16384

Compare gemini-2.5-flash Lite with related models

Specificationgemini-2.5-flash LiteClaude Fable 5Claude Fable 5.1
ProviderGoogleAnthropicAnthropic
Input → outputTextTextTextTextTextText
Selection basisCurrent modelSame billing unitsSame billing units
Context / max output128,000 / 16,3841,000,000 / 128,0001,000,000 / 128,000
Starting price$0.025 / 1M tokens$3 / 1M tokens$3 / 1M tokens

Choose by the input types, output settings and billing unit your workflow needs. Try the same prompt across models to compare results for your own use case.

Integrate gemini-2.5-flash Lite into your app

Keep the native request format and point your application to the platform API. Prepare a key with model access, then review status and charges in your usage records.

View API examples

gemini-2.5-flash Lite API · Common Questions

Everything you need to know about API access, pricing and model capabilities.

How is gemini-2.5-flash Lite billed?

Charges depend on the recorded token usage and your account rates. Input, output and supported cache or reasoning categories are listed separately in the pricing table. The calculator uses public USD prices; the final usage receipt determines the charge.

How do I get an API key?

Choose “Get API access” to open the integration guide. Sign in to your Astral Nexus account, prepare a key with access to this model and copy an API example.

Which API endpoints can I use?

Supported endpoints: /v1beta/models/{model}:generateContent、/v1beta/models/{model}:streamGenerateContent、/v1/interactions、/v1beta/interactions. Choose an endpoint in the API examples to see its native request format.

Does the model support streaming?

Streaming is not declared for the current route. Use the response format supported by its API.

Can I use tools or structured output?

Tools: not declared. Structured output: not declared. Request fields follow the selected native endpoint.

Where can I check usage and charges?

Keep the request ID and open your account’s LLM usage records to inspect request status, token counts and charges. Prompt and answer content are not a conversation history in this view.

Explore LLM Use Cases

All LLM models ↗

Integration topics / Documentation

All documentation ↗