Gemini 3.1 Pro
⧉Gemini 3.1 Pro 是 Google 新一代旗舰多模态模型,具备超长上下文、顶级推理与代码能力。完全兼容 OpenAI 接口,只需把 model 改成 gemini-3.1-pro 即可在现有 SDK 中直接调用;默认低推理档(更快更省),传 reasoning_effort=high 切换高推理档(Preview 档计价)。
Live Test · Playground
Try out Gemini 3.1 Pro right here (available after login)。
Input
Advanced
Conversation
About Gemini 3.1 Pro
Gemini 3.1 Pro is Google's next-generation flagship reasoning model, built for complex multi-step reasoning, long-context comprehension, and multimodal inputs such as text and images. On NezhaGate it is served through an OpenAI-compatible API: set the model to "gemini-3.1-pro" and point your base_url at NezhaGate to reuse the OpenAI SDK directly. It defaults to the fast low-effort tier; pass reasoning_effort="high" to switch to the deep-reasoning tier (billed at the Preview rate). Billing is pay-as-you-go, and failed requests are not charged.
Use cases
Summarize, extract from, and answer questions across contracts, reports, and papers, using the long context window to hold an entire document while keeping the reasoning coherent.
Tackle multi-step reasoning, math and logic problems, task decomposition, and solution planning where a clear, structured chain of analysis matters.
Combine text with image inputs for chart interpretation, screenshot Q&A, and visual description, all handled through a single chat interface.
Generate, explain, and refactor code, leaning on the long context to read whole files or modules and assist with debugging and design review.
Act as the core model in retrieval-augmented generation, feeding retrieved passages alongside the user question to produce grounded, citable answers.
How to choose
Pick the flagship Gemini 3.1 Pro when you need the deepest reasoning, the longest context, and multimodal support; if low latency and cost-efficiency for everyday chat matter more, reach for Google's faster siblings Gemini 3 Flash, Gemini 3.5 Flash, or Gemini 2.5 Flash. To compare flagships across providers, switch to GPT-5.5 or Claude Sonnet 4.6 the same way: they all live behind the one OpenAI-compatible API, so only the model field changes.
FAQ
What is Gemini 3.1 Pro?
How do I call Gemini 3.1 Pro with the OpenAI SDK?
What is the difference between the low and high tiers? Does the old gemini-3.1-pro-preview id still work?
What is Gemini 3.1 Pro best for?
Gemini 3.1 Pro vs Gemini 3 Flash: how do I choose?
Related Models
Explore other models you can integrate.
GPT-5.6 Sol
前沿旗舰 Agentic 编程模型
GPT-5.6 Terra
日常均衡 Agentic 编程模型
GPT-5.6 Luna
快而省的 Agentic 编程模型
GPT-5.5
旗舰对话与推理模型
GPT Image 2
高质量文生图 / 图生图模型
Nano Banana 2
高质量文生图 / 图生图模型
Nano Banana Pro
旗舰级文生图 / 图生图模型
Claude Sonnet 4.6
均衡高效的对话 / 代码模型
Gemini 3.6 Flash
新一代高速思考模型 · 四档思考预算
Gemini 3.6 Flash High
深度思考档
Gemini 3.6 Flash Low
极速低耗档
Gemini 3.6 Flash Tiered
自动调档
Gemini 3 Flash
高速低延迟,高性价比对话模型
Gemini 3.5 Flash
新一代高速思考模型
Gemini 2.5 Flash
高速低延迟,高性价比对话
Veo 3.1
文生 / 图生视频 · 多档 · 多分辨率