Description
Gemini 2.0 Flash Lite offers a significantly faster time to first token (TTFT) compared to [Gemini Flash 1.5](/google/gemini-flash-1.5), while maintaining quality on par with larger models like [Gemini Pro 1.5](/google/gemini-pro-1.5), all at extremely economical token prices.
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Google: Gemini 2.0 Flash Lite (google/gemini-2.0-flash-lite-001)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "google/gemini-2.0-flash-lite-001",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Google: Gemini 2.0 Flash Lite model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
- Images
API Pricing
- Input: 0.075$ / 1M tokens
- Output: 0.3$ / 1M tokens
Token Limits
- Max Output: 8,192 tokens
- Max Context: 1,048,576 tokens
Subscription Tiers
- free
- pro
- ultimate