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 name | Gemini 3.1 Pro Preview |
| API ID | gemini-3.1-pro-preview |
| Model vendor | Gemini |
| Type | Text model (chat / completions) |
| Context window | 1M tokens |
| Max output | 65.5K tokens |
| Image input | yes |
| Tokenator usage multiplier | 1.7× |
| Input modalities | text, image, file, audio, video |
| Aliases | cursor-gemini-3.1-pro-preview |
| Supported API formats | /v1/chat/completions /v1/responses /v1/messages |
| Upstream providers | 2 |
| Current status | available |
| Data updated | 2026-11-17 |
Benchmarks
| Coding index | 68.8 |
| Agentic index | 8.2 |
| Vals Index (Vals AI) | 33.4% |
| Vals Multimodal Index (Vals AI) | 56.1% |
| Vals Science Index (Vals AI) | 27.4% |
| Code Migration (Vals AI) | 17.3% |
| IOI (Vals AI) | 51.8% |
| LiveCodeBench (Vals AI) | 88.5% |
| ProgramBench (Vals AI) | 0% |
| SWE-bench (Vals AI) | 78.8% |
| Terminal-Bench 4.0 (Vals AI) | 2.5% |
| Vibe Code Bench 1-100 (Vals AI) | 6.7% |
| Vibe Code Bench v1.1 (Vals AI) | 32% |
| GPQA Diamond (Vals AI) | 95.5% |
| MMLU Pro (Vals AI) | 91% |
| MMMU Pro (Vals AI) | 88.2% |
| AIME (Vals AI) | 98.1% |
| ProofBench v1.1 (Vals AI) | 26% |
| BioMysteryBench (Vals AI) | 60% |
| MysteryMechanism (Vals AI) | 20.7% |
| Terminal-Bench-Science (Vals AI) | 1.4% |
| CorpFin v2 (Vals AI) | 64.5% |
| EMB (Vals AI) | 52.6% |
| Finance Agent (v2) (Vals AI) | 43% |
| MortgageTax (Vals AI) | 69.4% |
| Tax Agent Bench (Vals AI) | 9.3% |
| TaxEval v2 (Vals AI) | 72.9% |
| CaseLaw v2 (Vals AI) | 64.8% |
| Harvey's Legal Agent Benchmark v1 (Vals AI) | 0% |
| Legal Research Bench (Vals AI) | 20.7% |
| LegalBench (Vals AI) | 87.4% |
| MedCode (Vals AI) | 59.1% |
| MedQA (Vals AI) | 96.4% |
| MedScribe (Vals AI) | 76.1% |
| SRE Bench (Vals AI) | 0% |
| SAGE (Vals AI) | 83.2% |
| Financial Coaching Bench (Vals AI) | 66.7% |
| Public Benefits Bench v1.1 (Vals AI) | 53.8% |
Artificial Analysis and Vals AI data loaded into the catalog for this model.
Upstream providers
| Provider | Multiplier |
|---|---|
| AiPartners Ltd | 1.7× |
| Google Antigravity Pool #1 | 1.7× |
A request goes to the first available provider by priority; if it fails, Tokenator switches to the next one.
Example request
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, Cherry Studio, DeepSeek Harness, Hermes, Pi, OpenClaw.
See also
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 × 1.7×) + (output × 1.7×). 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.