跳到主要内容
Google · 发布于 2026-02-20

Gemini 3.1 Pro Preview LLM

上下文 1M 最大输出 66K 类型 LLM 渠道 OpenRouter
google/gemini-3.1-pro-preview

Gemini 3.1 Pro Preview is Google’s advanced reasoning model, designed for complex coding, agentic workflows, and high-context problem solving. It delivers improved software engineering performance, stronger agent reliability, and better token efficiency across demanding tasks. Built on the Gemini 3 multimodal foundation, it supports advanced reasoning across text, images, video, audio, and code, with a 1 million token context window for processing large-scale information and long-running workflows. It delivers improved performance on software engineering benchmarks and real-world coding environments, while enabling more reliable autonomous execution in structured domains such as finance and spreadsheet automation. Gemini 3.1 Pro Preview introduces a medium thinking level to provide better control over the trade-off between intelligence, latency, and cost. With stronger long-horizon reasoning, tool orchestration, and workflow automation capabilities, it is optimized for AI agents, coding assistants, multimodal analysis, enterprise automation, and complex data-driven applications.

定价

USD · 实时汇率
定价 USD / M
输入 $2.00 ≤200K $4.00 >200K
输出 $12.00 ≤200K $18.00 >200K
命中缓存 $0.20 ≤200K $0.40 >200K
图片输入

供应商

同一模型,多渠道实时比价 · 最优值绿色高亮
供应商 上下文 最大输出 输入 /M 输出 /M 缓存 /M 延迟 吞吐
OpenRouter 1M 66K $2.00 ≤200K $4.00 >200K $12.00 ≤200K $18.00 >200K $0.20 ≤200K $0.40 >200K 23136ms 99 t/s
Google Vertex 1M 66K $2.00 ≤200K $4.00 >200K $12.00 ≤200K $18.00 >200K $0.20 ≤200K $0.40 >200K 14049ms 201 t/s

接入示例

Model Center 会在不同服务提供商之间规范化处理请求和响应,为你统一接口。

提供兼容 OpenAI 的 Completion API:既可直接调用,也可通过 OpenAI SDK 调用,一把 key 调用全部模型。

获取 API Key 获取 API Key
from openai import OpenAI

client = OpenAI(
    base_url="https://router-integration.test.cogfoundry.ai/api/v1",
    api_key="$MODEL_CENTER_API_KEY",
)

completion = client.chat.completions.create(
    model="google/gemini-3.1-pro-preview",
    messages=[{"role": "user", "content": "9.11 和 9.8 哪个大?"}],
    stream=True,
)

for chunk in completion:
    if chunk.choices and chunk.choices[0].delta.content is not None:
        print(chunk.choices[0].delta.content, end="", flush=True)

Google 的更多模型