Skip to content
++++
Back to catalog
Google

gemini-3.1-pro

Gemini 3.1 Pro

Google frontier reasoning model for software engineering and complex workflows.

Get an API key
Input price from
$0.72/1M tokens
Output price from
$4.32/1M tokens
Context window
1048576
Modalities

Pricing

API access80% OFF
Input
$0.72
$3.6080% off
Output
$4.32
$21.6080% off
Cache read
$0.072
$0.3680% off

All prices are per million tokens and already include the discount shown above.

These public prices exclude group discounts. Your billed price may be lower based on your group.

Stability & performance

Success rate

0%

Latency

P50 latency378ms
P95 latency378ms

Throughput

No data yet

Prompt cache hit rate

No data yet

24-hour status

24 hours agoNow

Based on billed requests over the past 24 hours.

Integration & capabilities

Supported protocols

Compatible format
OpenAI
Routes
POST /v1/chat/completionsGET /v1/models
Features
StreamingPrompt cachingFunction callingSystem messages
Request parameters
modelmessagestemperaturetoolsstream

Connect your tool

Cursor

Cursor

BASE URL
https://api.unbar.sh/v1
MODEL
gemini-3.1-pro
  1. Create your key on the keys page.
  2. Open Settings → Models and turn on Override OpenAI Base URL; set it to https://api.unbar.sh/v1.
  3. Paste that key into the OpenAI API Key field.
  4. Add a custom model named gemini-3.1-pro and select it.

Supported capabilities

Function callingSupported

The model can call tools you define and return structured arguments to run them.

Tool choiceSupported

You can require, allow, or forbid tool use for a single request.

Structured outputsSupported

The model can return JSON that matches a schema you supply.

ReasoningSupported

The model can work through a problem step by step before it answers.

Prompt cachingSupported

Repeated context is cached, so you pay less for tokens the model has already read.

VisionSupported

The model can read and describe images sent with a prompt.

PDF inputSupported

The model can read PDF documents sent with a prompt.

Computer useNot supported

The model can drive a computer interface to complete a task.

Context & limits

Context window
1048576
Max output tokens
65536
++