Google
Gemini 3 Pro
Google 2025 最新前沿多模态模型,突破性推理能力和卓越性能
上下文长度1M tokens
输出长度64K tokens
模型类型多模态大语言模型
定价与规格
💰 定价
输入$2.0 / M tokens
输出$12.0 / M tokens
⚙️ 规格
上下文长度1M tokens
输出长度64K tokens
模型类型多模态大语言模型
多模态文本、图像、音频、视频、代码
训练截止日期2025年1月
API 支持Gemini API / OpenAI API
API 调用示例
Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.xairouter.com/v1",
api_key="your-api-key"
)
response = client.chat.completions.create(
model="gemini-3-pro-preview",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)cURL
curl https://api.xairouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "gemini-3-pro-preview",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'