Google logo

Google: Gemini 3.1 Pro Preview Custom Tools

google/gemini-3.1-pro-preview-customtools

Gemini 3.1 Pro Preview Custom Tools is a variant of Gemini 3.1 Pro that improves tool selection behavior by preventing overuse of a general bash tool when more efficient third-party...

Modalities

TextAudioImageVideoFiles / PDFText

In / out price

$2 / $12 per 1M

Context

1.05M

Released

Feb 25, 2026

Why use Gemini 3.1 Pro Preview Custom Tools

  • Understands images
  • Understands audio
  • Reads PDFs and other files
  • Step-by-step reasoning mode
  • Tool and function calling (agent-ready)
  • Structured (JSON) outputs
  • Very long context: whole books or codebases in one prompt

Pricing

Input$2 / 1M tokens
Output$12 / 1M tokens
Cached input (read)$0.2 / 1M tokens
Cache write$0.38 / 1M tokens
Image input$2 / 1M tokens

List prices via OpenRouter, checked daily. Real cost depends on the provider and on reasoning tokens.

Cost calculator

Pick a task, set how often you run it, and compare what it costs on each model.

ModelPer runPer monthPer 1,000 runs
Google: Gemini 3.1 Pro Preview Custom Tools$0.026$25.60$25.60

Estimates from list prices via OpenRouter; real bills vary by provider and reasoning tokens.

Will it fit? Context window simulator

Each square is about one page (500 words). Colored squares are your content; grey squares are free space in the model's context window.

Your content

  • Novel (90,000 words)

Total: about 120,000 tokens (≈ 90,226 words). Token counts are estimates.

Models

Google: Gemini 3.1 Pro Preview Custom Tools

1,048,576 tokens ≈ 1,577 pages

Fits: uses 11% of the window (room for 8× this much).

Write with the best model for the job

WordGPT picks and switches models for you: drafting, editing and files in one place. Free plan, no credit card.

Try it free

More from Google