Gemini 3.1 Pro Preview Customtools API Pricing Calculator

Gemini 3.1 Pro Preview Custom Tools prioritizes user-defined tool calls for complex coding, terminal workflows, and reliable multi-step AI agents.

Released 23 February 2026, Gemini 3.1 Pro Preview Customtools is a multimodal model from Google. It pairs a 1,048,576-token context window with up to 65,536 tokens of output, accepting text, audio, image, video and file and returning text. Step-by-step reasoning is supported. It costs between $1.00 and $7.20 per million input tokens, depending on service tier.

Last updated Nov 24, 2026

Never miss an AI pricing or launch update

Get notified about new model launches, pricing changes, provider updates, deprecations, and cost-saving insights.

πŸ”’ We respect your privacy. Unsubscribe anytime.

Model Details

Released
Feb 23, 2026
Context Length
1,048,576
Max Output
65,536
Modalities
Text Audio Image Video File → Text
Capabilities
Tool use Structured outputs Prompt caching Code execution

Where is Gemini 3.1 Pro Preview Customtools a perfect fit?

Gemini 3.1 Pro Preview Custom Tools is Google's reasoning model variant optimized to prioritize developer-defined tools and bash workflows for multimodal coding and complex long-context agentic tasks with flexible execution. It is most suited for below use-cases:
- AI coding agents: Execute multi-step coding workflows using tools for reading, editing, and searching code.
- Repository exploration: Navigate large codebases using custom search and file-inspection tools.
- Terminal-based agents: Combine bash commands with purpose-built tools rather than relying on a single generic terminal interface.
- Software engineering automation: Implement changes, inspect test results, and iterate through development tasks.
- Multi-tool orchestration: Select from multiple developer-defined functions during complex workflows.
- Long-context coding: Analyze large repositories, documentation, and technical specifications.
- Agentic research: Use search, code execution, and other tools to complete multi-step investigations.

Key Distinction:
Gemini 3.1 Pro Preview Custom Tools is not a separate model with a different reasoning architecture or price. It is a specialized endpoint designed to improve tool selection in agentic workflowsβ€”particularly those combining bash with custom developer-defined tools. Use the standard Gemini 3.1 Pro Preview endpoint for general multimodal reasoning and tasks that do not depend heavily on custom tools. Use the custom-tools endpoint when tool prioritization is central to the workflow. Google cautions that quality may fluctuate for tasks that do not benefit from custom-tool use.

Quick Model Estimate

(USD 2.0000 per 1M tokens)
(USD 12.0000 per 1M tokens)

Your Gemini 3.1 Pro Preview Customtools Cost Estimate

πŸ’° Total Cost

β€”

for 1000 input + 1000 output tokens

πŸ“₯ Input (1000 Γ— $2.000000) β€”
πŸ“€ Output (1000 Γ— $12.000000) β€”

Cost Breakdown

πŸ“₯ Input πŸ“€ Output

Prices are watched for changes and checked against the provider's own page.

Pricing

Provider ↕
Modality ↕
Service Tier ↕
Input Price
(per 1M tokens)
↕
Output Price
(per 1M tokens)
↕
Cached Input
(per 1M tokens)
↕
Cache Storage per Hour
(per 1M tokens)
↕
Context Size ↕
View
Google LogoGoogleTextStandard$2.0000$12.0000$0.2000$4.5000Up to 200,000 tokens→
Google LogoGoogleTextStandard$4.0000$18.0000$0.4000$4.5000200,000+ tokens→
Google LogoGoogleTextBatch$1.0000$6.0000$0.2000$4.5000Up to 200,000 tokens→
Google LogoGoogleTextBatch$2.0000$9.0000$0.4000$4.5000200,000+ tokens→
Google LogoGoogleTextFlex$1.0000$6.0000$0.2000$4.5000Up to 200,000 tokens→
Google LogoGoogleTextFlex$2.0000$9.0000$0.4000$4.5000200,000+ tokens→
Google LogoGoogleTextPriority$3.6000$21.6000$0.3600$8.1000Up to 200,000 tokens→
Google LogoGoogleTextPriority$7.2000$32.4000$0.7200$8.1000200,000+ tokens→

Compare Gemini 3.1 Pro Preview Customtools with

Two models side by side: worked costs, every rate, and every benchmark figure both of them report.

FAQs about Gemini 3.1 Pro Preview Customtools

How much does Gemini 3.1 Pro Preview Customtools cost per 1M tokens?

Gemini 3.1 Pro Preview Customtools costs between $1.00 and $7.20 per million input tokens, and between $6.00 and $32.40 per million output tokens. The range covers Standard, Batch, Flex and Priority pricing.

What does a typical workload cost with Gemini 3.1 Pro Preview Customtools?

1,000 requests of 2,000 input and 500 output tokens each β€” 2,000,000 input and 500,000 output tokens in total β€” costs $5.00 with Gemini 3.1 Pro Preview Customtools at its lowest rates. Use the calculator on this page for your own volumes.

Where can I use Gemini 3.1 Pro Preview Customtools?

Gemini 3.1 Pro Preview Customtools is available through Google, from $1.00 per million input tokens.

Is there cheaper Gemini 3.1 Pro Preview Customtools pricing than the standard rate?

Yes. Batch pricing for Gemini 3.1 Pro Preview Customtools starts at $1.00 per million input tokens against $2.00 on the standard tier, about 50% lower.

What is Gemini 3.1 Pro Preview Customtools's context window?

Gemini 3.1 Pro Preview Customtools has a context window of 1,048,576 tokens, and returns up to 65,536 tokens in a single response.

What input types does Gemini 3.1 Pro Preview Customtools support?

Gemini 3.1 Pro Preview Customtools accepts text, audio, image, video and file input, and returns text.