Back to models
vertex-gemini

Gemini 2.5 Flash

gemini-2.5-flash
vertex-gemini0 contextFree

Gemini 2.5 Flash is Google's state-of-the-art workhorse model, specifically designed for advanced reasoning, coding, mathematics, and scientific tasks. It includes built-in "thinking" capabilities, enabling it to provide responses with greater accuracy and nuanced context handling.

Total Context0
PricingFree

Providers for Gemini 2.5 Flash

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 Flash

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-flash: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."
        }
      ]
    }
  ]
}'