Back to All Models
Google · Reasoning

Gemini 3.1 Pro Preview Custom Tools

google/gemini-3.1-pro-preview-customtools
Use Model Now

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

Input Price / 1M Tokens
$2.44
Output Price / 1M Tokens
$14.64
Context Window
1.0M
VisionToolsReasoningLong Context
Python Example — google/gemini-3.1-pro-preview-customtools
from openai import OpenAI

client = OpenAI(
    base_url="https://relaystack-ai.vercel.app/v1",
    api_key="sk-rs-your-key-here",
)

response = client.chat.completions.create(
    model="google/gemini-3.1-pro-preview-customtools",
    messages=[{"role": "user", "content": "Hello from RelayStack!"}],
)
print(response.choices[0].message.content)