gemini-3.1-pro-preview

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.

LiveGoogle1 protocol1M contextStream cancellation unsupported
Context
1M
Input / 1M
$2.00
Output / 1M
$12.00
Modalities
Protocol
1
  • generateContent

Status & performance

Last 7 days
Loading model performance

Capabilities

TextReasoningVisionAudioLong contextCache

Pricing

Input tokens
$2.00/1M
Output tokens
$12.00/1M
Cached input
$0.2/1M
cached_output
$12.00/1M
Audio input
$2.00/1M
Audio output
$12.00/1M
Reasoning tokens
$12.00/1M
input_text
$2.00/1M
Image
$2.00/1M
output_text
$12.00/1M
output_image
$2.00/1M
input_above_threshold
$4.00/1M
cached_input_above_threshold
$0.4/1M
output_above_threshold
$18.00/1M
input_image_above_threshold
$4.00/1M
input_audio_above_threshold
$4.00/1M

Prices in USD per 1M tokens unless noted otherwise. Batch calls and cache hits receive additional discounts; live rates apply in the Workspace.