Gemini 3.1 Pro is our most advanced reasoning Gemini model, capable of solving complex problems. Gemini 3.1 Pro can comprehend vast datasets and challenging problems from different information sources, including text, audio, images, video, PDFs, and even entire code repositories with its 1M token context window.
For more information on using the latest Gemini models, see Get started with Gemini 3.
Quality improvements
Gemini 3.1 Pro includes several quality improvements:
- Improved SWE and agentic capabilities: Improved software engineering behavior and usability, with agentic improvements in domains like finance and spreadsheet applications.
- Improved token efficiency and thinking: More efficient thinking across various use cases.
- Expanded thinking levels: Introduces
MEDIUMas athinking_levelparameter for more options to optimize trade-offs between cost, performance, and speed.
Custom tools endpoint
For those building with a mix of bash and custom tools, Gemini 3.1 Pro
supports an additional endpoint: gemini-3.1-pro-preview-customtools.
This endpoint is better at prioritizing custom tools (such as view_file or
search_code). As gemini-3.1-pro-preview-customtools is optimized for
agentic workflows that use custom tools and bash, you may see quality
fluctuations in some use cases which don't benefit from such tools.
Pricing for gemini-3.1-pro-preview-customtools is identical to
Gemini 3.1 Pro. Provisioned Throughput (PT) isn't
supported on gemini-3.1-pro-preview-customtools, and multimodal requests on
gemini-3.1-pro-preview-customtools enforce legacy input limits (up to 30 MiB
per image and 10 HTTP or HTTPS image URLs, 50 MiB and 1,000 pages per PDF,
7 MiB per plain-text file, and 1 HTTP or HTTPS audio or video URL per request).
Try in Agent Studio View in Model Garden Deploy example app Pricing
| Model ID | gemini-3.1-pro-preview |
|
|---|---|---|
| Modalities |
|
|
| Token limits | Context window | 1,048,576 |
| Maximum output tokens | 65,536 | |
| Capabilities |
|
|
| Tools |
|
|
| APIs |
|
|
| Consumption options |
|
|
| Input size limit |
|
|
| Interactions API URI limit |
Up to 100 distinct Cloud Storage (gs://) URIs per request across all modalities on the Interactions API, including URIs carried forward from earlier turns using previous_interaction_id. generateContent supports gs:// URIs up to the per-modality model item limits (up to 6,500 combined multimodal files when including plain-text files).
|
|
| Technical specifications | Image |
|
| Text |
|
|
| Video |
|
|
| Audio |
|
|
| Parameter defaults |
|
|
| Supported regions |
|
|
| Versions |
|
|