Google
Gemini 3.1 Pro
google/gemini-3.1-pro
Google's reasoning-first flagship, optimized for complex agentic workflows and coding with adaptive thinking.
Pricing
| Input | $2.00per 1M tokens |
|---|---|
| Output | $12.00per 1M tokens |
| Cached input | $0.2per 1M tokens read from cache |
Specifications
| Context window | 1Mtokens |
|---|---|
| Max output | 66Ktokens |
| Provider | |
| Capabilities | Vision · Reasoning · Function calling |
| Input types | text, image |
Use Gemini 3.1 Pro
Point your existing OpenAI SDK at xKiro and pass google/gemini-3.1-pro as the model. Nothing else in your code changes.
from openai import OpenAI
client = OpenAI(
base_url="https://api.xkiro.com/v1",
api_key="YOUR_XKIRO_KEY",
)
response = client.chat.completions.create(
model="google/gemini-3.1-pro",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Supported parameters
max_tokens · temperature · top_p · stop · frequency_penalty · presence_penalty · seed · stream · tools · tool_choice · reasoning · include_reasoning
Related models
- Gemini 2.5 Flash$0.3
- Gemini 2.5 Pro$1.25
- Gemini 3 Flash$0.5
- Gemini 3.5 Flash$1.50
- Gemini 3.6 Flash$1.50
- Gemini 3.7 Flash$0.375
Call Gemini 3.1 Pro through the same endpoints you already use.
Get an API key