Gemini Flash Latest

Model details

Gemini Flash Latest

Model
gemini-flash-latest
Provider
google
API
google-generative-ai
Base URL
https://generativelanguage.googleapis.com/v1beta
Input
text, image
Reasoning
Yes
Context window
1,048,576
Max tokens
65,536
Cost / million input
$0.3
Cost / million output
$2.5
Cost / million cache read
$0.075
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "google": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "gemini-flash-latest",
          "name": "Gemini Flash Latest",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 1048576,
          "maxTokens": 65536,
          "cost": {
            "input": 0.3,
            "output": 2.5,
            "cacheRead": 0.075,
            "cacheWrite": 0
          }
        }
      ],
      "api": "google-generative-ai",
      "baseUrl": "https://generativelanguage.googleapis.com/v1beta"
    }
  }
}