All models

gemini-2.5-pro

gemini-2.5-pro
StreamingTool callingVisionReasoningJSON modeWeb searchAudio
Get API key

Overview

gemini-2.5-pro is available on MAX API through the OpenAI-compatible API.

Pricing

Official list prices in USD. Token prices are per 1M tokens.
TierInputOutputCache read
Input ≤ 200,000 tokens$1.25$10$0.125
Input > 199,999 tokens$2.5$15$0.25

This model uses tiered pricing: the tier is chosen by the total input length of each request.

Cache read applies to prompt tokens served from the prompt cache; cache write applies to tokens written into it.

Example request

curl https://clubs.byte-ai.cn/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-2.5-pro",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'