Back to model hub
gemini-2.5-pro

gemini-2.5-pro

Gemini/gemini-2.5-pro
llmGeminigemini-2.5-pro

No introduction yet. It will appear when the API includes intro, description, or capability text for this model.

gemini-2.5-pro — Groups & pricing

Access groups for this site model, same-day runtime metrics, and per-resolution per-call prices from the console.

官Key-Tier 1

比官方便宜75%!高性价比!

Input / 1M tokens
¥2.19
Output / 1M tokens
¥17.50
官Key-Tier 3 Ultra
Input / 1M tokens
¥7.00
Output / 1M tokens
¥56.00

Example code & API

Call OpenAI-compatible routes below. Replace the model field with this model’s routing code and paste an API key from the console into the Authorization header.

Traffic is proxied through the unified gateway; each model type maps to a different endpoint (chat, embeddings, images, rerank, speech, etc.), and the snippets switch automatically for the current type.

In production, set sensible timeouts and retries, and keep request identifiers from responses for debugging.

curl -X POST "https://api.bananarouter.com/v1beta/models/gemini-2.5-pro:generateContent" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [
      {
        "parts": [
          { "text": "Generate a futuristic cyberpunk city at night with cinematic lighting and ultra-high detail." }
        ]
      }
    ],
    "generationConfig": {
      "responseModalities": ["IMAGE"],
      "imageConfig": {
        "aspectRatio": "16:9"
      }
    }
  }'