Forge is available: build a website with AI from your RodiumAi account.

Try Forge
Google

Gemini 3.1 Pro Preview Custom Tools

Healthychatvisionreasoningtoolspreview
Context
2M
Max output
-
Speed
Deep
Quality
Max
Released
2026-02-25
Input: / Output:
TextImagedocumentAudioVideoText

About this model

Variant of Gemini 3.1 Pro Preview optimized for custom tool selection and multi-turn tool calling. Most capable model in Gemini lineup. 2M token context window — largest in industry. Tiered pricing: input/output roughly doubles above 200K tokens. Paid tier only, no free access. Preview status: may change before GA, more restrictive rate limits. Supports multimodal understanding, agentic capabilities, and coding.

Pricing

RateRODIUSD (ref.)Unit
Text tokens
In1546.2~ 2.00per 1M tokens (RODI/M, USD/M)
Out9276.9~ 12.00per 1M tokens (RODI/M, USD/M)
Prompt caching
Cached154.7~ 0.200per 1M tokens (RODI/M, USD/M)
Hosted tools
Search grounding10.9~ 0.014per call (RODI/call, USD/call)

Pricing tiers

The rate depends on how you call the model. Each table below lists every tier, in RODI with the approximate USD value.

Long context pricing

When a prompt is longer than 200K tokens, the whole request is billed at these rates (RODI per 1M tokens).

Prompt over 200K tokens
  • In 3,092
  • Out 13,915
  • Cached 309.3

RODI prices include RodiumAi markup and upstream fees. USD figures are wholesale reference rates.

Providers & pricing

ProviderInputOutputCachedFree tierStatus
Vertex

Vertex

Default

All rates (4)
  • In1546.2 RODI/M
  • Out9276.9 RODI/M
  • Cached154.7 RODI/M
  • Search grounding10.9 RODI/call
1,5469,277154.7-No data
Google AI Studio

Google AI Studio

Priority 2

All rates (4)
  • In1546.2 RODI/M
  • Out9276.9 RODI/M
  • Cached154.7 RODI/M
  • Search grounding10.9 RODI/call
1,5469,277154.7-No data

Capabilities

Streaming
Tool calling
Vision
JSON mode
Reasoning

API usage

Use the canonical slug with client.chat() or chat.completions.create().

Examples

…

Example response

…

Streaming

…

RodiumAi SDK

Official Python, JavaScript, and Laravel SDKs: flat API aligned with this model slug.

…

Use cases

  • Long-document and multimodal assistants: PDFs, screenshots and photos in the same prompt.
  • Fast, low-cost classification and extraction with the Flash and Flash-Lite tiers.
  • Multilingual support and translation, including French and African languages.
  • Agents that call tools and read images.

Notes

  • Gemini models answer on POST https://api.rodiumai.io/v1/chat/completions (OpenAI format), served from Google Vertex AI or the Gemini API.
  • reasoning_effort is forwarded to Gemini. Gemini 3 models already think by default, so you rarely need to set it.
  • Images go in image_url parts, as base64 data URLs or https:// links. Video parts are also accepted as video/* data URLs on models with video input.
  • OpenAI-only fields such as n, seed or logit_bias are ignored.
View all