Large-codebase reasoning
Analyze repositories, plan multi-file changes, debug difficult behavior, and coordinate tool-based implementation work.
Independent tool overview
Gemini 3.1 Pro is Google's advanced reasoning model for complex coding, research, analysis, and agentic workflows, with multimodal inputs and a one-million-token context window.
Visit the official Gemini 3.1 Pro site ↗
Overview
Gemini 3.1 Pro is the reasoning-focused model in Google's Gemini 3 family. It is intended for work where a fast answer is less important than following a long chain of requirements, combining information from several sources, using tools, or reasoning across a large codebase or document set.
The API accepts text, images, video, audio, and PDFs and returns text. It supports function calling, structured output, code execution, context caching, Google Search grounding, URL context, Google Maps grounding, and adjustable thinking levels. Google also exposes a custom-tools endpoint for agentic coding workflows that mix shell commands with developer-defined tools.
Consumers can use 3.1 Pro in the Gemini app and NotebookLM, while developers can access the preview model through Google AI Studio, the Gemini API, Vertex AI, Gemini CLI, Android Studio, and Antigravity. The API endpoint remains a preview model, so production systems should isolate it behind versioned configuration and regression tests.
Use cases
The strongest fit depends on the job you need the product to complete, not the size of its feature list.
Analyze repositories, plan multi-file changes, debug difficult behavior, and coordinate tool-based implementation work.
Combine long documents, URLs, search results, tables, and multimodal evidence into a structured analysis.
Use function calling, structured outputs, code execution, and custom tools for reliable multi-step tasks.
Reason across PDFs, images, recorded audio, and video when the answer depends on more than plain text.
Work through long requirement sets, tradeoffs, constraints, and dependencies before producing a decision or implementation plan.
Capabilities
Process large codebases, document collections, long recordings, or extended conversations in a single request when the application supplies the relevant material.
Choose low, medium, or high thinking levels to balance latency and reasoning depth; high is the default for 3.1 Pro.
Accept text, images, video, audio, and PDF inputs while producing text responses for analysis and downstream automation.
Use Google Search, Google Maps, URLs, file search in AI Studio, and code execution to bring external or computed evidence into a response.
Connect business actions and developer tools, then constrain responses to a defined schema for more reliable automation.
Use gemini-3.1-pro-preview-customtools when an agent must prioritize shell and developer-defined tools, with the tradeoff that quality may fluctuate outside those workflows.
Process
Step 1
Use the Gemini app or NotebookLM for interactive work, AI Studio for prototyping, and the Gemini API or Vertex AI for a production integration.
Step 2
State the goal, constraints, audience, acceptable sources, and required structure; use a schema when another system will consume the answer.
Step 3
A large context window is capacity, not a requirement. Curate files and sections so cost and attention are spent on evidence that affects the result.
Step 4
Enable search, URLs, code execution, or functions only where needed, and lower thinking depth for routine requests that do not justify Pro-level latency and cost.
Step 5
Check citations, calculations, code, tool arguments, and factual claims before acting, especially when the model is allowed to change external systems.
Step 6
Use context caching or Batch/Flex options where appropriate, log token usage, pin the endpoint, and rerun evaluation cases before adopting a new preview revision.
Cost
Gemini 3.1 Pro has consumer subscription access and usage-based developer pricing. API rates increase when a prompt exceeds 200,000 tokens. Consumer availability and quotas are compute-based and vary by prompt complexity, features, conversation length, plan, and region.
$0
Personal Gemini access with varying availability for 3.1 Pro.
$19.99/month
Higher consumer access to Google's Pro models and productivity features.
$99.99/month
Premium personal plan with five times the Pro usage limits.
$199.99/month
Highest listed personal usage tier.
$2 input / $12 output per 1M tokens
Standard API pricing for shorter contexts.
$4 input / $18 output per 1M tokens
Higher rate applied to requests with large input contexts.
Usage-based or contracted
Google Cloud access with enterprise deployment, governance, and billing options.
Pricing checked . Check current pricing at the source ↗
Assessment
Compare
The right alternative depends on the specific output, workflow, controls and budget your project requires.
Business Operations
Choose ChatGPT for OpenAI's broad consumer ecosystem, custom tools, multimodal creation, and integrated agent experiences.
Explore ChatGPT →Project Management
Choose Claude for Anthropic's long-context writing, coding, analysis, and agent workflows, especially if you prefer its product ecosystem.
Explore Claude →Business Operations
Choose DeepSeek when open-model availability and lower-cost reasoning options are more important than Google's integrated tools and multimodal stack.
Explore DeepSeek →Questions
It is designed for complex reasoning, software engineering, research synthesis, multimodal analysis, and agentic workflows that require reliable tool use across multiple steps.
No. The Gemini API endpoint is still named gemini-3.1-pro-preview, and Google lists all Gemini 3 API models as preview. No shutdown date has been announced for this endpoint.
The model supports up to 1,048,576 input tokens and 65,536 output tokens. Sending more than 200,000 input tokens uses the higher API price tier.
Yes. It accepts video and audio alongside text, images, and PDFs. Its output is text; audio generation, image generation, and the Live API are not supported by this model.
For prompts up to 200,000 tokens, Google lists $2 per million input tokens and $12 per million output tokens. Above 200,000 input tokens, rates rise to $4 input and $18 output per million tokens.
The Gemini app includes varying free access to 3.1 Pro. API prototyping may also have free allowances in Google AI Studio, but availability, limits, and supported features can differ from paid API access.
gemini-3.1-pro-preview-customtools is a separate API endpoint optimized to prioritize shell commands and developer-defined tools in agentic workflows. Google notes that quality may fluctuate on tasks that do not benefit from those tools.
Bottom line
Gemini 3.1 Pro is a compelling choice when a job combines long context, multimodal evidence, difficult reasoning, and tools. It is overkill for simple chat or high-volume classification, where a current Flash model will usually be faster and cheaper. For production agents, the key caution is its preview status: pin the model, measure real task performance, cap spend, and keep human or programmatic checks around consequential actions.
Visit Gemini 3.1 Pro website ↗
Lyria 3 - Google's new AI music generation model for creating 30-second, customizable audio clips from text, image, or video prompts.

Qwen3.5 Small - Alibaba's tiny open-source models that rival AI systems 13x their size

Claude Sonnet 4.6 - Anthropic's upgraded mid-tier model rivaling Opus at 1/5 the cost with 1M-token context

GPT-5.3 Instant - OAI's ChatGPT default model update with fewer refusals and less hallucinations

Get access to all our AI courses, hundreds of real-world AI use cases, live expert-led workshops, an exclusive network of AI early adopters, and more.
Get unlimited access to all of our current & upcoming industry-specific AI courses for the duration of your subscription.
To keep up with the rapid pace of AI, our team publishes AI implementation guides daily. Our library contains 300+ practical use cases to automate real-world work.
Join weekly, live, interactive sessions with industry leaders who are at the forefront of AI for hands-on implementation guidance and exclusive insights.
Network with an exclusive community of AI-first professionals who are working smarter with AI. Learn how early adopters are using AI in their work and businesses.