Back to models
vertex-gemini

Gemini 2.5 Flash Lite

gemini-2.5-flash-lite
vertex-gemini0 contextFree

Gemini 2.5 Flash-Lite is a lightweight reasoning model in the Gemini 2.5 family, optimized for ultra-low latency and cost efficiency. It offers improved throughput, faster token generation, and better performance across common benchmarks compared to earlier Flash models.

Total Context0
PricingFree

Providers for Gemini 2.5 Flash Lite

AnyInt routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

vertex-gemini
Total Context0
PricingFree

Sample code and API for Gemini 2.5 Flash Lite

AnyInt generates a quickstart from this model's declared API operations, including complete polling flows for asynchronous media.

Create API key

Choose an operation and language that match this model.

Gemini Generate ContentGemini native

Call the standard operation supported by this model.

/gemini/v1beta/models/{model}:generateContent
curl 'https://api.anyint.ai/gemini/v1beta/models/gemini-2.5-flash-lite:generateContent' \
  -H "Content-Type: application/json" \
  -H "x-goog-api-key: <YOUR_API_KEY>" \
  -d '{
  "contents": [
    {
      "parts": [
        {
          "text": "Describe a calm futuristic city at sunrise."
        }
      ]
    }
  ]
}'