Gemini 3.1 Pro Preview Customtools

google/gemini-3.1-pro-preview-customtoolsCopy model ID

Reads text and images, writes text, and can think before it answers.

2
providers

Quick start

OpenAI chat completionsCopy request
curl https://router.fluxapay.xyz/llm/v1/chat/completions \
  -H "Authorization: Bearer $AGENTMARKET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemini-3.1-pro-preview-customtools","messages":[{"role":"user","content":"Hello"}]}'
No provider in the path, so each call goes to the cheapest provider serving this format.

Providers and prices

Per 1M tokens, in USD

Calls without a provider in the path go to the cheapest provider.

ProviderInputOutputCache readCache write 5mRoute
AIHubMix
Prompts over 200K tokens: input $4, output $18, cache read $0.4
$2$12$0.2—Default route
UnifyLLM
Prompts over 200K tokens: input $4, output $18, cache read $0.4
$2$12$0.2$0.37/llm/unify-llm/v1/...

Prompt size counts every input token: new, cached and written to cache. Above a tier's size, all of the call's tokens are billed at that tier.

Capabilities

Input
Text, Vision
Output
Text
Thinking
Supported
Formats
OpenAI chat completions

More from Gemini