返回模型列表Google
购买套餐
Google
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview delivers advanced intelligence, complex problem-solving, and powerful agentic and vibe coding capabilities.
快速参数
上下文
1049K
最大输出
66K
出品方
规格数
1
模态
输入 audio输入 file输入 image输入 text输入 video输出 text
规格与刊例价(每百万 tokens)
高性价比
输入 $2输出 $12缓存读取 $0.2
推荐套餐
Gemini 3.1 Pro Preview 体验套餐
充值即用,按量计费;新用户享 $1 体验额度。
API 接入
Model ID
google/gemini-3.1-pro-previewcURL
curl https://intertoken.ai/v1/chat/completions \
-H "Authorization: Bearer $TOKENPORTAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.1-pro-preview",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python
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-3.1-pro-preview",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)