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
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | API key (query parameter) |
contents | array | Yes | Array of { role, parts } objects |
systemInstruction | object | No | System instruction with parts array |
generationConfig.temperature | float | No | 0–2. Controls randomness. Default: 1 |
generationConfig.topP | float | No | Nucleus sampling threshold. Default: 1 |
API Reference
View the interactive API playground for Gemini 2.5 Flash Lite.