Back to models
Google

Gemini 2.5 Flash

Gemini 2.5 Flash is Google's best price-performance model for low-latency, high-volume tasks that require reasoning.

Quick Stats

Context

1049K

Max Output

66K

Provider

Google

Specs

2

Modalities

in filein imagein textin audioin videoout text

Specs & List Price (per 1M tokens)

Quality
Input $0.3Output $2.5Cache read $0.03
Value
Input $0.15Output $1.25Cache read $0.015

Recommended Plan

Gemini 2.5 Flash Starter Plan

Pay-as-you-go after top-up; $1 free credit for new users.

Buy Plan

API Endpoint

Model IDgoogle/gemini-2.5-flash

cURL

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

Python (openai SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://intertoken.ai/v1",
    api_key="$TOKENPORTAL_API_KEY",
)

resp = client.chat.completions.create(
    model="google/gemini-2.5-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

Start using this model

Sign up free, get an API key, and make your first call in 30 seconds.