Google

Gemini 3.1 Pro Preview Custom Tools API Pricing 2026

Compare pricing, benchmarks, and providers for Gemini 3.1 Pro Preview Custom Tools. Find the best value for your use case.

8 Ways to Use Fewer Tokens
Last updated: November 21, 2026 at 08:43 AM

Overview

Gemini 3.1 Pro Preview Custom Tools was released on February 25, 2026. Pricing starts at $2.00 per million input tokens and $12.00 per million output tokens. The model supports a context window of up to 1.0M tokens. API access is available through Google.

Context Window
1.0M
tokens
Pricing
Input$2.00
Output$12.00
Cached$0.200
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
VisionAudio InReasoningToolsCaching

Gemini 3.1 Pro Preview Custom Tools is priced at $2.00 per million input tokens and $12.00 per million output tokens. It has a context window of 1,048,576 tokens. It is available from 2 providers, with Google AI Studio the cheapest at $2.00 per million input tokens.

Pricing Comparison

Compare Gemini 3.1 Pro Preview Custom Tools with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$2.000
$12.000
—
—
—
1,048,576
Try
$2.000
$12.000
—
—
—
1,048,576
Try
$2.000
$8.000
—
—
—
200,000
Try
$2.000
$8.000
—
—
—
256,000
Try
$2.000
$8.000
—
—
—
1,047,576
Try
$2.000
$8.000
—
—
—
128,000
Try
$2.000
$8.000
—
—
—
128,000
Try
$2.000
$8.000
—
—
—
200,000
Try
$2.000
$6.000
—
—
—
131,072
Try
$2.000
$6.000
—
—
—
131,072
Try
$2.000
$6.000
—
—
—
131,072
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

Gemini 3.1 Pro Preview Custom Tools is available from multiple providers with different pricing and availability.

2
Providers
$2.000
Cheapest Input/M
$12.000
Cheapest Output/M
Google AI Studio
Best Price

Provider Pricing

2 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Input $/M
Output $/M
Cache Read $/M
Cache Write $/M
Uptime
Google AI Studio
Google AI Studio
Best Price
$2.000
$12.000
-
-
-
OpenRouter
OpenRouter
Best Price
$2.000
$12.000
$0.200
$0.375
-
Provider pricing data sourced from OpenRouter and Helicone

Community Rankings

How does Gemini 3.1 Pro Preview Custom Tools perform? Vote based on your experience.

Cost vs. Quality

Compare Gemini 3.1 Pro Preview Custom Tools's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Other models

Try Gemini 3.1 Pro Preview Custom Tools

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test Gemini 3.1 Pro Preview Custom Tools directly in your browser.

Open Playground

Frequently Asked Questions

Gemini 3.1 Pro Preview Custom Tools costs $0.002000 per 1,000 input tokens and $0.012000 per 1,000 output tokens.
Gemini 3.1 Pro Preview Custom Tools is available from 2 providers. Google AI Studio offers the best price.
Google AI Studio offers Gemini 3.1 Pro Preview Custom Tools at $2.00 per million input tokens.
We compare Gemini 3.1 Pro Preview Custom Tools with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All Google Models

See pricing for all Google models.

View all Google models →