Skip to content
GooglePreview

Gemini 3.1 Pro Preview API pricing

Google's Pro preview model for complex reasoning, coding and multimodal agentic work.

How much does Gemini 3.1 Pro Preview API cost?

Gemini 3.1 Pro Preview uses variable TokenGate pricing. The rates below depend on the request conditions listed in each row.

Historical pricing
ConditionInput tokens / 1MCached input / 1MOutput tokens / 1M
Prompts ≤ 200K tokens$2.00$12.00
Prompts > 200K tokens$4.00$18.00
  • Pricing is tiered by prompt size.

Use Gemini 3.1 Pro Preview with the OpenAI SDK

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

Change the model identifier to use another supported model through the same TokenGate integration.

Model specifications

Provider
Google
API model identifier
gemini-3.1-pro-preview
Generation
3.1
Provider lifecycle
Active
Context window
1.05M
Maximum output tokens
66K
Input modalities
Text, Image
Output modalities
Text
Capabilities
Streaming, Function calling, Structured outputs, Vision, Reasoning, Tool use

Best for

  • Complex reasoning
  • Coding
  • Agents
  • Multimodal

Access Gemini 3.1 Pro Preview through TokenGate

Use supported models through a single TokenGate integration.

  • · One API integration
  • · OpenAI-compatible interface
  • · Payment in USDT

Frequently asked questions

Related models

TokenGate