Google: Gemini 2.0 Flash

Model details

Google: Gemini 2.0 Flash

Model
google/gemini-2.0-flash-001
Provider
openrouter
API
openai-completions
Base URL
https://openrouter.ai/api/v1
Input
text, image
Reasoning
No
Context window
1,000,000
Max tokens
8,192
Cost / million input
$0.1
Cost / million output
$0.4
Cost / million cache read
$0.025
Cost / million cache write
$0.083333
Model config JSON
{
  "providers": {
    "openrouter": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "google/gemini-2.0-flash-001",
          "name": "Google: Gemini 2.0 Flash",
          "reasoning": false,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 1000000,
          "maxTokens": 8192,
          "cost": {
            "input": 0.09999999999999999,
            "output": 0.39999999999999997,
            "cacheRead": 0.024999999999999998,
            "cacheWrite": 0.08333333333333334
          }
        }
      ],
      "api": "openai-completions",
      "baseUrl": "https://openrouter.ai/api/v1"
    }
  }
}