Skip to main content
Gemini 2.5 Flash Lite is Google’s most efficient language model in the 2.5 series, available through AnyFast via the native Gemini API. Ideal for lightweight tasks requiring fast responses at minimal cost.

Key capabilities

  • Native Gemini API — Uses Google’s native API format for full feature access
  • Ultra-efficient — Lowest latency and cost in the Gemini 2.5 family
  • Multi-turn conversations — Handles dialogue with system instructions
  • High throughput — Suitable for large-scale, cost-sensitive workloads

Quick example

curl "https://www.anyfast.ai/v1beta/models/gemini-2.5-flash-lite:generateContent?key=YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [
      {
        "role": "user",
        "parts": [{ "text": "Explain quantum computing in simple terms." }]
      }
    ],
    "generationConfig": {
      "temperature": 1,
      "topP": 1
    }
  }'

Parameters

ParameterTypeRequiredDescription
keystringYesAPI key (query parameter)
contentsarrayYesArray of { role, parts } objects
systemInstructionobjectNoSystem instruction with parts array
generationConfig.temperaturefloatNo02. Controls randomness. Default: 1
generationConfig.topPfloatNoNucleus sampling threshold. Default: 1

API Reference

View the interactive API playground for Gemini 2.5 Flash Lite.