Home / Model Explorer / Gemini 3.1 Pro Preview

Gemini 3.1 Pro Preview API

Google·1M contextChatReasoningTool callingVision

Multimodal preview · Programming and complex reasoning

Overview

About this model

Gemini 3.1 Pro official preview model, designed for complex reasoning, code development, long document analysis, and multimodal understanding. Supports text and image input, tool calling, and 100K Token long context. When the input context exceeds 20K Token, billing is based on the long-context tier, and the actual cost is subject to the price of the selected route.

Capabilities

Capability matrix

TextSupported
VisionSupported
Audio—
ToolsSupported
JSONSupported
ReasoningSupported

Pricing and groups

Routes and pricing

Gemini Official Direct Connection36% of baseOperational

Google Vertex Direct Connection, balancing stability and response speed

Input

$0.72 / 1M

Output

$4.32 / 1M

Cache read

$0.072 / 1M

Cache write

—

Recent availabilityPast 24 hours · Active probes95.4%
24h ago16h ago8h agoNow

Prices in USD per 1M tokens. Rates follow provider adjustments; live prices in Model Explorer as the reference.

Snapshot: 2026-10-07 23:09. Availability reflects active probes over the past 24 hours; performance reflects actual calls.

API

Integration example

All models share one OpenAI-compatible endpoint. To switch models, change the model field. One key accesses every model.

Python · OpenAI SDK
# pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.yomiapi.com/v1",
    api_key="sk-your-yomi-key",
)

resp = client.chat.completions.create(
    model="gemini-3.1-pro-preview",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
curl · OpenAI compatible
curl https://api.yomiapi.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-yomi-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-pro-preview",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Connect to Gemini 3.1 Pro Preview now

Receive credits on registration, access every model with one key, and connect through low-latency global nodes.

Get a free API key