Gemini 2.0 Flash Lite

Model details

Gemini 2.0 Flash Lite

Model
google/gemini-2.0-flash-lite
Provider
vercel-ai-gateway
API
anthropic-messages
Base URL
https://ai-gateway.vercel.sh
Input
text, image
Reasoning
No
Context window
1,048,576
Max tokens
8,192
Cost / million input
$0.075
Cost / million output
$0.3
Cost / million cache read
$0.02
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "vercel-ai-gateway": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "google/gemini-2.0-flash-lite",
          "name": "Gemini 2.0 Flash Lite",
          "reasoning": false,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 1048576,
          "maxTokens": 8192,
          "cost": {
            "input": 0.075,
            "output": 0.3,
            "cacheRead": 0.02,
            "cacheWrite": 0
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://ai-gateway.vercel.sh"
    }
  }
}