Textby Google

Gemini 3.1 Pro Preview

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...

  • By price it is in the pricier half of the 348 text models GenMagic runs (303rd cheapest).
  • It scores 30.4 on the Artificial Analysis Intelligence Index, 40th of the 121 text models with a score.
  • Among the models GenMagic runs, it places in the top 10 on 12 of its 61 benchmarks: 2nd of 25 on METR: Average Task Success, 3rd of 39 on Terminal-Bench, 4th of 23 on BALROG, and more below.
  • It was listed on Feb 19, 2026.

Data last changed Nov 12, 2026 · tracked since Oct 29, 2026 · Every model change

Try Gemini 3.1 Pro Preview

Generate with Gemini 3.1 Pro Preview right here. Verify your email to start with free credits.

~$0.021
Try

Specifications

Context window

1M tokens

Max output

66K tokens

Input price

$3.00 / 1M tokens

Output price

$18.00 / 1M tokens

Cached input

$0.30 / 1M tokens

Benchmarks

How Gemini 3.1 Pro Preview scores on public benchmarks. Each card links to the benchmark explainer and to the original source.

8.2

source date 2026-11-11
Source: openrouter

68.8

source date 2026-11-11
Source: openrouter

30.4

source date 2026-09-18
Source: openrouter
AIMEMathematics

95.6%± 3.1

highsource date 2026-08-06
Source: epoch
APEX-AgentsAgentic & Tool Use

35.1%

Source: epoch
ARC-AGI-1Reasoning & Knowledge

98%

Source: epoch
ARC-AGI-2Reasoning & Knowledge

77.1%

Source: epoch
BALROGAgentic & Tool Use

57%

Source: epoch
Chess PuzzlesReasoning & Knowledge

51%± 5.0

highsource date 2026-10-13
Source: epoch
CL-benchLong Context

20.8%

Source: epoch
Design Arena: 3DDesign & Generation

1219 Elo

Source: designarena
Design Arena: CodeDesign & Generation

1238 Elo

Source: designarena
Design Arena: SVGDesign & Generation

1277 Elo

Source: designarena
DeepSWECoding

11.7%

Reasoning effort: high; Harness: mini-swe-agent
Source: epoch
DTBenchReasoning & Knowledge

97.1%

medium
Source: epoch

14.3

source date 2026-06-25
Source: epoch
FrontierMathMathematics

36.9%± 2.8

source date 2026-02-19
Source: epoch

16.7%± 5.4

source date 2026-02-19
Source: epoch

26.8%± 7.0

source date 2026-06-11
Source: epoch

59.6%± 2.9

source date 2026-06-11
Source: epoch
GPQA DiamondReasoning & Knowledge

94.5%± 0.1

source date 2026-10-01
Source: openrouter
GSO OPT@1Coding

22.6%

Scaffold: OpenHands
Source: epoch
Humanity's Last ExamReasoning & Knowledge

46.4%± 2.0

Source: epoch
LMArena (Coding)Instruction & Preference

1482 Elo

source date 2026-11-09
Source: lmarena
LMArena: Creative WritingInstruction & Preference

1483 Elo

source date 2026-11-09
Source: lmarena
LMArena: Hard PromptsInstruction & Preference

1484 Elo

source date 2026-11-09
Source: lmarena

1482 Elo

source date 2026-11-09
Source: lmarena
LMArena: MathMathematics

1476 Elo

source date 2026-11-09
Source: lmarena
LMArena: Multi-TurnInstruction & Preference

1486 Elo

source date 2026-11-09
Source: lmarena
LMArena (Overall)Instruction & Preference

1480 Elo

source date 2026-11-09
Source: lmarena
LMCAReasoning & Knowledge

53.8

high
Source: epoch

8.9

highsource date 2026-08-10
Source: epoch
Mystery Game PuzzlesReasoning & Knowledge

32%± 4.7

mediumsource date 2026-08-06
Source: epoch
PostTrainBenchAgentic & Tool Use

18.1

Scaffold: OpenCode
Source: epoch
ProofBenchMathematics

26%± 4.4

Reasoning effort: high
Source: epoch
SimpleBenchReasoning & Knowledge

79.6%

Source: epoch
SimpleQA VerifiedReasoning & Knowledge

73.5%± 1.4

highsource date 2026-08-10
Source: epoch
tau-bench (Airline)Agentic & Tool Use

77%± 0.3

source date 2026-10-01
Source: openrouter
WebDev ArenaAgentic & Tool Use

1447 Elo

Source: epoch
WeirdMLCoding

72.1%± 0.0

Source: epoch

Compare against every model in the full benchmark matrix.

Capabilities

Reasoning

Works through multi-step problems before answering, for harder tasks.

Vision input

Accepts images alongside text, so you can prompt with pictures and screenshots.

Tool use

Can call functions and tools, enabling agentic and structured workflows.

Structured output

Returns validated JSON that conforms to a schema you define.

Use Gemini 3.1 Pro Preview through the API

The model id is google/gemini-3.1-pro-preview. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.1-pro-preview",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="google/gemini-3.1-pro-preview",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "google/gemini-3.1-pro-preview" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use Gemini 3.1 Pro Preview in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick Google: Gemini 3.1 Pro Preview, or enter google/gemini-3.1-pro-preview as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
Google: Gemini 3.1 Pro Preview (this model)Google$3.00 in / $18.00 out per 1M tokens1M
OpenAI: GPT-5.6 Terra ProOpenAI$3.00 in / $18.00 out per 1M tokens1.1M
Amazon: Nova Premier 1.0Amazon$3.75 in / $18.75 out per 1M tokens1M
Xiaomi: MiMo-V2.6-Pro-UltraSpeedXiaomi$6.53 in / $13.05 out per 1M tokens1M
Cohere: Command ACohere$3.75 in / $15.00 out per 1M tokens256K
Qwen: Qwen3.8 Max PrimeQwen$6.00 in / $18.00 out per 1M tokens1M

Compare Gemini 3.1 Pro Preview

More from Google

All 41 Google models

Price and listing history

Every change GenMagic has recorded for Gemini 3.1 Pro Preview since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 1, 2026Price up 36%$2.20 in / $13.20 out per 1M tokens$3.00 in / $18.00 out per 1M tokens

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as Google publishes them, checked daily.
  • Benchmarks: 61 scores from Artificial Analysis and OpenRouter, Epoch AI, Design Arena, LMArena, re-read daily. Each score above links to its source.
  • Changes: the data on this page last changed on Nov 12, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with Gemini 3.1 Pro Preview today

One GenMagic plan unlocks Gemini 3.1 Pro Preview and every other model across text, image, audio, and video.