Google: Gemini 3.1 Pro
Google Gemini 3.1 Pro API pricing
Gemini 3.1 Pro costs $0.800 per million input tokens and $4.80 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $2.00 input and $12.00 output), and cached input tokens are billed at $0.080 per million. It accepts text, images, video, audio and files and returns text, with a 1.05M-token context window and up to 66K output tokens per response. A cheaper Google option is Gemini 4 Argon at $0.800 / $4.00 per 1M tokens; for every model and rate, see Gemini API pricing.
Third-generation Pro model built for multimodal understanding, agentic capability, and vibe-coding; improved thinking, token efficiency, and factual grounding over Gemini 3 Pro.
Providers
Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.
| Provider | Input /M | Output /M | Cache read /M | Latency | Throughput |
|---|---|---|---|---|---|
| $0.800 | $4.80 | $0.080 | 17.92s | 145 tps |
Capabilities (22)
Supported parameters (11)
A parameter not listed here may be removed before the request reaches the model. When it is, the request still succeeds and the response names it, with the reason, in provider_specific_fields.dropped_params.
Pricing
What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.
| Rate | Standard price | Charged | Unit |
|---|---|---|---|
| Input | $2.00 | $0.800 | per 1M input tokens |
| Output | $12.00 | $4.80 | per 1M output tokens |
| Cached input | $0.200 | $0.080 | per 1M cached input tokens |
| Cache write | $2.00 | $0.800 | per 1M cache-write tokens |
Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.
Specifications
- Model ID
gemini-3.1-pro- Developer
- Type
- Text
- Input
- Text, images, video, audio and files
- Output
- Text
- Context window
- 1,048,576 tokens
- Max output
- 65,536 tokens
- Released
- Feb 1, 2026
- Image input
- Up to 20 MB each · PNG, JPEG, WebP, HEIC, HEIF
- File input
- Up to 100 MB each · PDF
- Audio input
- Up to 50 MB each · WAV, MP3, AIFF, AAC, OGG, FLAC
- Video input
- Up to 100 MB each · MP4, MPEG, MOV, AVI, WEBM
- Endpoint
/v1/chat/completions
Quickstart
Call gemini-3.1-pro with a POST to /v1/chat/completions on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.oxyy.ai/v1",
api_key=os.environ["OXYY_API_KEY"],
)
response = client.chat.completions.create(
model="gemini-3.1-pro",
messages=[
{"role": "user", "content": "Explain unified AI APIs in one sentence."},
],
)
print(response.choices[0].message.content)Performance
Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better). Throughput and TTFT are measured on streaming requests, which are the only ones with a first-token moment to time.
Throughput
Latency
Time to first token
Cache hit rate
Apps
Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.
- 1.Z Code@electron 2.1M tokens
Activity
Token volume and request traffic to this model over time. Daily totals, UTC.
Prompt tokens measure input size. Reasoning tokens show internal thinking before a response. They are part of the output, so the completion bars show the rest of it and each day’s bar is its total.
Frequently asked questions
What is Gemini 3.1 Pro?
How much does Gemini 3.1 Pro cost?
What is the context length of Gemini 3.1 Pro?
Does Gemini 3.1 Pro support tool calling and structured outputs?
What inputs and outputs does Gemini 3.1 Pro support?
Which API endpoint does Gemini 3.1 Pro use?
When was Gemini 3.1 Pro released?
What other models does Google have?
Alternatives to Gemini 3.1 Pro
Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

