Gemini 2.5 Pro (Vertex)

Model details

Gemini 2.5 Pro (Vertex)

Model
gemini-2.5-pro
Provider
google-vertex
API
google-vertex
Base URL
https://{location}-aiplatform.googleapis.com
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": {
    "google-vertex": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "gemini-2.5-pro",
          "name": "Gemini 2.5 Pro (Vertex)",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 1048576,
          "maxTokens": 65536,
          "cost": {
            "input": 1.25,
            "output": 10,
            "cacheRead": 0.125,
            "cacheWrite": 0
          }
        }
      ],
      "api": "google-vertex",
      "baseUrl": "https://{location}-aiplatform.googleapis.com"
    }
  }
}