Gemini 3.1 Pro CustomTools API
$1.600 - 3.200(~ 115.2 - 230.4 credits) per 1M input tokens; $9.600 - 14.400(~ 691.2 - 1036.8 credits) per 1M output tokens
$0.161 - 0.322(~ 11.6 - 23.2 credits) per 1M cache read tokens
Google Search grounding charged separately per query.
Highest stability with guaranteed 99.9% uptime. Recommended for production environments.
Use the same API endpoint for all versions. Only the model parameter differs.
Gemini 3.1 Pro CustomTools API
Gemini 3.1 Pro CustomTools is a separate request route and model ID on EvoLink for tool-heavy Gemini 3.1 Pro workflows. Use it when your requests rely on tools arrays, structured outputs, and multi-step agent loops, and keep the base Gemini 3.1 Pro route for broader general reasoning.
Model route
Gemini 3.1 Pro CustomTools API
Request model ID
gemini-3.1-pro-preview-customtools

Best use cases for Gemini 3.1 Pro CustomTools API
Tool-Centric Request Flows
Use this route when your workload is organized around a tools array, structured outputs, and repeated back-and-forth between the model and external systems. It fits agent loops, tool-driven extraction, and orchestrated API workflows.

AI Agent & Automation Workflows
Build agent workflows that call external APIs, databases, or internal services through one gateway. On EvoLink, this model ID gives you a distinct tool-focused route inside the Gemini 3.1 Pro family instead of mixing that traffic into the base Pro route.

1M Context + Structured Outputs
Use the 1M context window for longer agent sessions, larger tool payloads, and structured extraction jobs. This route keeps the pricing and model ID separate from the base Pro page, which makes planning and routing clearer.

Why Use Gemini 3.1 Pro CustomTools on EvoLink
EvoLink exposes Gemini 3.1 Pro CustomTools as its own request route and model ID, so teams can keep one gateway and one auth pattern while separating tool-heavy Gemini traffic from the base Gemini 3.1 Pro route.
Keep One Gateway for Agent Routing
You can add gemini-3.1-pro-customtools to an existing OpenAI-style stack without creating a separate Google-specific integration path for one workflow branch.
Separate General Reasoning from Tool-Oriented Traffic
Using a separate model ID makes it easier to keep agent traffic, structured output jobs, and general Gemini 3.1 Pro usage on distinct routes with clearer cost and behavior controls.
Production-Grade Token Accounting
Usage includes prompt_tokens, completion_tokens, total_tokens, plus completion_tokens_details.reasoning_tokens for tracking tool-planning overhead separately from final output.
How to Call Gemini 3.1 Pro CustomTools
Use the OpenAI SDK format with your existing tool definitions and the gemini-3.1-pro-customtools model string.
Step 1 - Set the Model
Use model: "gemini-3.1-pro-customtools" in the request body. Your existing tool/function definitions work without changes.
Step 2 - Define Tools and Send Messages
Include a tools array with your function definitions and a messages array with role/content pairs. This route is intended for workloads where tool selection, structured outputs, and multi-turn tool use are central to the request flow.
Step 3 - Handle Tool Calls and Results
Process tool_calls in the response, execute the functions, and send results back. Use the live pricing table on this page to confirm the route cost before moving the workflow into production.
Gemini 3.1 Pro CustomTools API Features and Limits
Core capabilities optimized for tool-heavy workloads
Enhanced Function Calling
Designed for routes where function calling, tools arrays, and structured outputs are part of the normal request shape.
Multi-Step Orchestration
Handles chained tool invocations where outputs feed into subsequent calls with context retention.
Structured Outputs
Reliable JSON schema conformance for structured data extraction and API response formatting.
1M Context Window
1,048,576 input tokens with tiered pricing above 200K for long agent sessions and large tool contexts.
Reasoning Tokens
completion_tokens_details includes reasoning_tokens to track tool-planning overhead separately.
OpenAI SDK Compatible
Use the standard /v1/chat/completions interface with tools array — no custom integration needed.
Gemini 3.1 Pro CustomTools API FAQs
Everything you need to know about the product and billing.
Continue with Gemini family pages and integration guides
Where Gemini 3.1 Pro CustomTools fits in the Gemini family
Treat CustomTools as a separate tool-oriented request route inside your Gemini 3.1 Pro family options on EvoLink. Use it when function calling, structured outputs, and agent orchestration are the main workload pattern; keep the base Gemini 3.1 Pro route for broader general-purpose reasoning traffic.
Group family-model links and integration content in one place so the page stays focused and the next step is clearer.