Models

Gemini 3.1 Pro

View as Markdown
Model ID
gemini-3.1-pro
Context window
200k
Max context
1M
Provider
Google
Capabilities
Agent, Thinking, Images
Speed
Medium
Cost
Medium
Intelligence
Frontier

Gemini 3.1 Pro is Google's latest model. It processes images alongside code, making it strong for UI/UX work from design mockups. It supports context windows up to 1M tokens.

Strengths

  • Processes images alongside code. Strong for UI/UX coding from design mockups, frontend development, and visual code understanding.
  • Up to 1M tokens of context for whole-codebase analysis.
  • Strong capabilities at $2/1M input tokens.

Tools

Gemini 3.1 Pro has access to all agent tools in the Agents Window including:

ToolWhat it does
Search files and foldersFind files by name, read directory structures, and grep for patterns.
WebGenerate search queries and fetch results from the web.
Read filesRead file contents, including images for vision-capable models.
Edit filesSuggest edits and apply them automatically.
Run shell commandsExecute terminal commands and monitor output.
BrowserControl a browser to take screenshots, test applications, and verify visual changes. See Browser.
Image generationGenerate images from text descriptions or reference images.
Ask questionsAsk clarifying questions while continuing to work in the background.
Fetch rulesRetrieve rules based on type and description. See Rules.

Learn more about how tools work and tool calling fundamentals.

Pricing

Gemini 3.1 Pro is a third-party model, so it isn't part of the usage included with your plan. On The X Subscription it's billed at the rates below from your prepaid credit. On legacy plans it draws from the Other Models pool. All prices are per million tokens.

NameProviderInputCache writeCache readOutput
Gemini 3.1 ProGoogle$2-$0.2$12

When input exceeds 200k tokens (long context), input and output pricing increases. See the pricing table above for the long context rates.


Last updated: November 23, 2026