返回模型列表Google
购买套餐
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.
快速参数
上下文
1049K
最大输出
66K
出品方
规格数
2
模态
输入 file输入 image输入 text输入 audio输入 video输出 text
规格与刊例价(每百万 tokens)
高质量
输入 $0.3输出 $2.5缓存读取 $0.03
高性价比
输入 $0.15输出 $1.25缓存读取 $0.015
推荐套餐
Gemini 2.5 Flash 体验套餐
充值即用,按量计费;新用户享 $1 体验额度。
API 接入
Model ID
google/gemini-2.5-flashcURL
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)