Google

gemini-3.1-pro

Model IDgemini-3.1-pro

Integration docsMarkdown

Model introduction

Gemini 3.1 Pro is Google's flagship multimodal model for complex reasoning, code, and long-form generation, with 1M context and 64K output.

Model capabilities

Specifications come from the cited model material. Catalog tags help identify access features; use the source documentation for exact limits.

OpenAI compatibleResponses APIAnthropic compatibleGemini compatibleVisionPrompt cacheReasoningAudio

Verified specifications

Official positioning
Flagship complex reasoning and multimodal model
Context window
1,000,000 tokens
Maximum output
64,000 tokens
Input / output
Text, image, audio, video, PDF / Text

Sources: B.AI Gemini 3.1 Pro model guide

Model pricing and access

Prices are read directly from the MoleAPI console catalog and shown by current billing group and context tier.

Your final charge follows the account group shown in the console.
Live pricing source

Pricing table

USD / 1M tokens
Standardx1defaultInput $2 · Output $12

Input

$2 / 1M tokens

Output

$12 / 1M tokens

Cache read

$0.2 / 1M tokens

Discountx0.8discountInput $1.6 · Output $9.6

Input

$1.6 / 1M tokens

Output

$9.6 / 1M tokens

Cache read

$0.16 / 1M tokens

Access protocols

Available billing groups: Standard, Discount

openai
POST
/v1/chat/completions
openai-response
POST
/v1/responses
anthropic
POST
/v1/messages
gemini
POST
/v1beta/models/{model}:generateContent

Complete model guide

Prepared from vendor sources and independently reviewed. · 2026-07-28

Positioning and core capabilities

Gemini 3.1 Pro is Google’s February 2026 flagship Gemini 3-series model for complex tasks, built on Gemini 3 Pro and positioned for natively multimodal reasoning. [3] It accepts text, images, audio, and video inputs, including entire code repositories, and returns text. [3]

Capabilities and specifications

Gemini 3.1 Pro combines multimodal input processing with a long context window for complex reasoning, coding, and analysis workloads. [3]

SpecificationValue
Input modalitiesText, images, audio, and video [3]
Output modalityText [3]
Context window1,000,000 tokens [3]
Maximum output64,000 tokens [3]
Model foundationGemini 3 Pro [3]

Google’s evaluation table reports a 77.1% score for Gemini 3.1 Pro Thinking (High) on ARC-AGI-2, compared with 31.1% for Gemini 3 Pro Thinking (High), and a 68.5% score on Terminal-Bench 2.0, compared with 56.9%. [3] Google also reports 80.6% on SWE-Bench Verified, an Elo score of 2,887 on LiveCodeBench Pro, and MRCR v2 results of 84.9% at 128K average context and 26.3% on the reported 1M pointwise setting. [3]

Use cases

Google identifies Gemini 3.1 Pro for agentic performance, advanced coding, algorithm development, and long-context or multimodal understanding. [3]

Its input support can accommodate analysis that combines written material with visual, audio, or video content, while its repository support targets codebase-level development and software-engineering tasks. [3] Its reported benchmark results also cover abstract reasoning, terminal-based tasks, software issue resolution, coding, search, and long-context retrieval. [3]

Material limitations

Gemini 3.1 Pro produces text outputs, including when processing multimodal inputs. [3] Its generated response is capped at 64,000 tokens, while the 1,000,000-token limit applies to context. [3]

Sources

Code examples

These examples use MoleAPI's Responses API endpoint and run after you replace the API key.

curl https://api.moleapi.com/v1/responses \
  -H "Authorization: Bearer $MOLEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-pro",
    "input": "Explain this problem step by step."
  }'

Frequently asked questions

How is gemini-3.1-pro priced?

This page reads prices from the MoleAPI console API and updates with model prices, context tiers, and account groups.

How can I access gemini-3.1-pro?

Protocols and endpoints come from the supported_endpoint_types field in the MoleAPI model catalog.

How do I switch an existing project to gemini-3.1-pro?

Keep the MoleAPI API address and key, replace the model parameter with the model ID on this page, then check protocol-specific parameter differences.

Where do the gemini-3.1-pro model details come from?

Capabilities and limitations are checked against B.AI and the other cited pages. Pricing and available protocols come only from the MoleAPI console.