Gemini 2.5 Pro

Model details

Gemini 2.5 Pro

Model
google/gemini-2.5-pro
Provider
vercel-ai-gateway
API
anthropic-messages
Base URL
https://ai-gateway.vercel.sh
Input
text, image
Reasoning
Yes
Context window
1,048,576
Max tokens
65,536
Cost / million input
$1.25
Cost / million output
$10
Cost / million cache read
$0.125
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "vercel-ai-gateway": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "google/gemini-2.5-pro",
          "name": "Gemini 2.5 Pro",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 1048576,
          "maxTokens": 65536,
          "cost": {
            "input": 1.25,
            "output": 10,
            "cacheRead": 0.125,
            "cacheWrite": 0
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://ai-gateway.vercel.sh"
    }
  }
}