Model

Gemini 3.1 Pro Preview Custom Tools.
Same key.

by Google

Call Gemini 3.1 Pro Preview Custom Tools with the same key and base_url as the rest of the catalog. Billed per token from your prepaid balance.

google/gemini-3.1-pro-preview-customtoolsTry it in the console
Price per 1M tokens
Inputprompt tokens$2.00
Outputcompletion tokens$12.00
Cache readcached prompt tokens$0.20

What Utopixel charges your balance, per 1M tokens, base tier.

Over 200K tokens of input (whole request): $4.00 input, $18.00 output per 1M tokens.

Quick facts
Model id
google/gemini-3.1-pro-preview-customtools
Provider
Google
Context
1.05M
Max output
66K
Modalities
text, audio, image, video, file to text
APIs
OpenAI SDKAnthropic SDK
Billing
Prepaid balance, usage.cost on every response
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...

Request

Call Gemini 3.1 Pro Preview Custom Tools today.

Same request shape across the catalog. Swap the base_url, keep your SDK, set model to the id.

OpenAI SDKbase_url https://utopixel.online/api/v1
main.pyopenai
1import os
2from openai import OpenAI
3
4client = OpenAI(
+ base_url="https://utopixel.online/api/v1",
6 api_key=os.environ["UTOPIXEL_API_KEY"],
7)
8r = client.chat.completions.create(
9 model="google/gemini-3.1-pro-preview-customtools",
10 messages=[{"role": "user", "content": "Hello"}],
11)
12print(r.usage.cost)
Anthropic SDKbase_url https://utopixel.online/api
main.pyanthropic
1import os
2import anthropic
3
4client = anthropic.Anthropic(
+ base_url="https://utopixel.online/api",
6 api_key=os.environ["UTOPIXEL_API_KEY"],
7)
8m = client.messages.create(
9 model="google/gemini-3.1-pro-preview-customtools",
10 max_tokens=1024,
11 messages=[{"role": "user", "content": "Hello"}],
12)
cURL
1curl https://utopixel.online/api/v1/chat/completions \
2 -H "Authorization: Bearer $UTOPIXEL_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{"model": "google/gemini-3.1-pro-preview-customtools", "messages": [{"role": "user", "content": "Hello"}]}'
Availability

Where to call it.

Latency appears once a channel has enough measured requests.

RouteContextInput / MOutput / MCache read / M
Utopixel
OpenAI ChatAnthropic Messages
1.05M$2.00$12.00$0.20
Supported parameters
include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p
01Cost example

What a call
costs you.

Tokens times the Utopixel price. Drag the sliders to match your traffic. Every response returns its own usage.cost.

Cost example, Gemini 3.1 Pro Preview Custom Tools

Per requestPer month
Total per month$660.00
02Fallback

Use Gemini 3.1 Pro Preview Custom Tools
as a backup.

Put Gemini 3.1 Pro Preview Custom Tools in a models array. If the first model's upstream errors, Utopixel sends the same request to the next one. You pay only for the call that answers.

See fallback docs
request.jsonPOST /v1/chat/completions
1{
- "model": "openai/gpt-6.1-sol",
+ "models": [
+ "openai/gpt-6.1-sol",
+ "google/gemini-3.1-pro-preview-customtools"
+ ],
7 "messages": [ ... ]
8}
openai/gpt-6.1-solattempt 1, upstream error502
google/gemini-3.1-pro-preview-customtoolsattempt 2, answered200

Start building in minutes.

One API key for the models of OpenAI, Google, DeepSeek, Moonshot AI, Qwen, xAI, Z.ai, Meta, Amazon, AionLabs, Anthropic, Baidu, ByteDance Seed, Cohere, Elorian, Fireworks AI, IBM, inclusionAI, Inference.net, KT, Liquid AI, Meituan, Meta, MiniMax, Mistral AI, Moondream, Motif Technologies, Nex AGI, NVIDIA, Particle AI, Perceptron, Prism ML, Reflection AI, Reka, Relace, Ricursive AI, Sakana AI, StepFun, Tencent, Thinking Machines, Unbiased, Upstage, Writer and Xiaomi. Start free, no card needed.