Models
Gemini 3.1 Pro
- Model ID
- gemini-3.1-pro
- Context window
- 200k
- Max context
- 1M
- Provider
- 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:
| Tool | What it does |
|---|---|
| Search files and folders | Find files by name, read directory structures, and grep for patterns. |
| Web | Generate search queries and fetch results from the web. |
| Read files | Read file contents, including images for vision-capable models. |
| Edit files | Suggest edits and apply them automatically. |
| Run shell commands | Execute terminal commands and monitor output. |
| Browser | Control a browser to take screenshots, test applications, and verify visual changes. See Browser. |
| Image generation | Generate images from text descriptions or reference images. |
| Ask questions | Ask clarifying questions while continuing to work in the background. |
| Fetch rules | Retrieve 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.
| Name | Provider | Input | Cache write | Cache read | Output |
|---|---|---|---|---|---|
| Gemini 3.1 Pro | $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