Back to models
vertex-gemini

Gemini 2.5 Pro

gemini-2.5-pro
vertex-gemini0 contextFree

Gemini 2.5 Pro is Google’s state-of-the-art AI model designed for advanced reasoning, coding, mathematics, and scientific tasks. It employs “thinking” capabilities, enabling it to reason through responses with enhanced accuracy and nuanced context handling. Gemini 2.5 Pro achieves top-tier performance on multiple benchmarks, including first-place positioning on the LMArena leaderboard, reflecting superior human-preference alignment and complex problem-solving abilities.

Total Context0
PricingFree

Providers for Gemini 2.5 Pro

AnyInt routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

vertex-gemini
Total Context0
PricingFree

Sample code and API for Gemini 2.5 Pro

AnyInt generates a quickstart from this model's declared API operations, including complete polling flows for asynchronous media.

Create API key

Choose an operation and language that match this model.

Gemini Generate ContentGemini native

Call the standard operation supported by this model.

/gemini/v1beta/models/{model}:generateContent
curl 'https://api.anyint.ai/gemini/v1beta/models/gemini-2.5-pro:generateContent' \
  -H "Content-Type: application/json" \
  -H "x-goog-api-key: <YOUR_API_KEY>" \
  -d '{
  "contents": [
    {
      "parts": [
        {
          "text": "Describe a calm futuristic city at sunrise."
        }
      ]
    }
  ]
}'