Gemini 3.1 Pro Preview

Loading model catalog…

Back to models

About Gemini 3.1 Pro Preview

Gemini 3.1 Pro Preview is a Google model. On TeamoRouter its model ID is gemini-3.1-pro-preview, and the same TeamoRouter API key works for it and every other model. Setup steps are in the API docs.

Model ID
gemini-3.1-pro-preview
Provider
Google
Context window
2M tokens
Official list price
$2 input / $12 output per 1M tokens
Compare all models →

Use the Gemini 3.1 Pro Preview API

Point the base URL at TeamoRouter and use gemini-3.1-pro-preview as the model name; nothing else changes. Python example:

from google import genai
from google.genai import types

client = genai.Client(
    api_key="<TEAMOROUTER_API_KEY>",
    http_options=types.HttpOptions(base_url="https://api.teamorouter.vip"),
)
response = client.models.generate_content(
    model="gemini-3.1-pro-preview",
    contents="Hello",
)
print(response.text)

Gemini 3.1 Pro Preview FAQ

What is the Gemini 3.1 Pro Preview API model ID?
The model ID is gemini-3.1-pro-preview. The OpenAI-compatible base URL is https://api.teamorouter.vip/v1.
How much does the Gemini 3.1 Pro Preview API cost?
The official list price of Gemini 3.1 Pro Preview is $2 input / $12 output per 1M tokens. TeamoRouter bills per use with no monthly fee; see the price table on this page for the current discounted price.
Can I use Gemini 3.1 Pro Preview in Cursor, Cline or Cherry Studio?
Yes. Choose the OpenAI-compatible provider, set the base URL to https://api.teamorouter.vip/v1, use your TeamoRouter API key, and enter gemini-3.1-pro-preview as the model name.