dotsagent.io
Language:English
Google · Flagship preview

Gemini 3.1 Pro Preview API pricing and specs

The newest Pro model in the Gemini API, still in preview, with a separate endpoint that favours custom tools over built-in ones.

Input
⁨$2⁩
Cached input
⁨$0.20⁩
Output
⁨$12⁩

US dollars per million tokens, standard tier, short-prompt rate

Gemini 3.5 Pro was announced in May but has no API model string yet. Computer use is not listed for this model, and there is no free tier.

Prompts over 200K tokens are billed at ⁨$4⁩ input, ⁨$0.40⁩ cached and ⁨$18⁩ output per million, and the higher rate applies to the whole request.

Spec sheet

API model string
gemini-3.1-pro-preview
Provider
Google
Context
1.05M tokens
Max output
66K tokens
Released
February 19, 2026
Batch API
50% off, results within hours
Documented agent features
Tool callingStructured outputBuilt-in web searchAdjustable reasoning

What a task costs

Four reference workloads priced at this model's list rates, with caching applied after the first call. Your numbers will differ; the calculator lets you change every assumption.

WorkloadPer taskPer 1,000 tasks
Support bot
4 calls, short tool lookups
⁨$0.061⁩⁨$61⁩
Coding agent
30 calls, files and test output
⁨$2.05⁩⁨$2,049⁩
Browser agent
25 calls, screenshots and page text
⁨$1.42⁩⁨$1,417⁩
Research agent
15 calls, long search results
⁨$1.37⁩⁨$1,368⁩

Change the assumptions

Other Google models

Similar cost elsewhere

Models from other providers whose cost on the 30-step coding workload is closest to this one.

Sources

  1. ai.google.dev/gemini-api/docs/pricing
  2. ai.google.dev/gemini-api/docs/models/gemini-3.1-pro-preview
  3. ai.google.dev/gemini-api/docs/changelog

Independent reference for people who build AI agents. Not affiliated with any vendor named here.

© 2026 DotsAgent · Facts checked October 1, 2026