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.8× |
| 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 | 3 |
| Current status | available |
| Data updated | 2026-08-04 |
Benchmarks
| Intelligence index | 46.5 |
| Coding index | 68.8 |
| Agentic index | 21.4 |
Artificial Analysis data loaded into the catalog for this model.
Upstream providers
| Provider | Multiplier |
|---|---|
| Gemini Partner #3 | 1.8× |
| AiPartners Ltd | 1.8× |
| Gemini Partner #2 | 1.8× |
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, 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 + 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.