Skip to content
ModelsRankingsChatDocsPricing
go

Google: Gemini 3.1 Pro Preview Custom Tools

google/gemini-3.1-pro-preview-customtools

AvailableGoogletext inaudio inimage invideo infile intext out

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

Context

1.0M

tokens in

Max output

66K

tokens out

Price

$2.00 / $12.00

per 1M in / out

Quick start

curl https://api.token265.com/v1/chat/completions \
  -H "Authorization: Bearer ${OPENROUTER_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.1-pro-preview-customtools",
    "messages": [{"role": "user", "content": "hello"}]
  }'
from openai import OpenAI

client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
    model="google/gemini-3.1-pro-preview-customtools",
    messages=[{"role": "user", "content": "hello"}],
)

Supported parameters

include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p

More from Google