Skip to content

Google: Gemini 3.1 Pro Preview Custom Tools

Google
google/gemini-3.1-pro-preview-customtools

About this model

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...

Make a request

OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.

curl https://promptix.tn/api/v1/chat/completions \  -H "Authorization: Bearer $PROMPTIX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "google/gemini-3.1-pro-preview-customtools",    "messages": [      {"role": "user", "content": "Hello! What can you do?"}    ]  }'

Pricing

In TND per 1M tokens. VAT and the platform fee are added at top-up.

Input tokens

7.742 TND

per 1M tokens

Output tokens

46.452 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 30.968 TND.

Specifications

Provider
Google
Context window
1,048,576 tokens
Input modality
Text
Added
Feb 25, 2026
Supported parameters
include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstemperature