Gemini 3.1 Pro Preview via the Tokenator API

What the model is for

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation of the Gemini 3 series, it combines high-precision reasoning across text, image, video, audio, and code with a 1M-token context window. Designed for advanced development and agentic systems, Gemini 3.1 Pro Preview improves long-horizon stability and tool orchestration while increasing token efficiency. It introduces a new medium thinking level to better balance cost, speed, and performance. The model excels in agentic coding, structured planning, multimodal analysis, and workflow automation, making it well-suited for autonomous agents, financial modeling, spreadsheet automation, and high-context enterprise tasks.

Specification

Full nameGemini 3.1 Pro Preview
API IDgemini-3.1-pro-preview
Model vendorGemini
TypeText model (chat / completions)
Context window1M tokens
Max output65.5K tokens
Image inputyes
Tokenator usage multiplier1.8×
Input modalitiestext, image, file, audio, video
Aliasescursor-gemini-3.1-pro-preview
Supported API formats/v1/chat/completions /v1/responses /v1/messages
Upstream providers3
Current statusavailable
Data updated2026-08-04

Benchmarks

Intelligence index46.5
Coding index68.8
Agentic index21.4

Artificial Analysis data loaded into the catalog for this model.

Upstream providers

ProviderMultiplier
Gemini Partner #31.8×
AiPartners Ltd1.8×
Gemini Partner #21.8×

A request goes to the first available provider by priority; if it fails, Tokenator switches to the next one.

Example request

curl
curl https://api.tokenator.top/v1/chat/completions \
  -H "Authorization: Bearer sk-your-tokenator-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-pro-preview",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Compatible tools

The model can be used in any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code, OpenClaw.

FAQ about Gemini 3.1 Pro Preview

What is the API ID of Gemini 3.1 Pro Preview?

gemini-3.1-pro-preview — put this into the model field of your request.

What context window does Gemini 3.1 Pro Preview have?

1M tokens; max output is 65.5K tokens.

How many tokens will a request cost?

(input + output) × 1.8×. See the documentation for details.

Which tools support this model?

Any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code. Setup guides are in the integrations section.