GPQA Diamond
Graduate-level scientific reasoning
96.5%
ARC-AGI-2
Abstract reasoning on novel puzzles
77.1%
FrontierMath
Expert-level mathematics
62.8%
OTIS Mock AIME
Competition mathematics
95.6%
gemini-3-1-pro-preview Reasoning-first Gemini preview for agentic coding and complex problem solving
Quick facts
Explore Gemini 3.1 Pro Preview pricing per million input, output, and cached tokens, along with its context window and maximum output limits.
Context window
1M tokens
Max output
66K tokens
Input
Output
How Gemini 3.1 Pro Preview scores on independent benchmarks tracked by Epoch AI.
Epoch Capabilities Index
156.3
ECI rank
#41 of 258
Benchmark data: Epoch AI, ‘Capabilities & benchmarking’, licensed under CC BY 4.0.
Start using Gemini 3.1 Pro Preview
gemini-3-1-pro-preview https://api.nexos.ai/v1 from openai import OpenAI
# Get your API key from the nexos.ai dashboard
client = OpenAI(
base_url="https://api.nexos.ai/v1",
api_key="YOUR_NEXOS_API_KEY",
)
response = client.chat.completions.create(
model="gemini-3-1-pro-preview",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content) import OpenAI from 'openai';
// Get your API key from the nexos.ai dashboard
const client = new OpenAI({
baseURL: 'https://api.nexos.ai/v1',
apiKey: 'YOUR_NEXOS_API_KEY',
});
const response = await client.chat.completions.create({
model: 'gemini-3-1-pro-preview',
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0].message.content); curl https://api.nexos.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_NEXOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3-1-pro-preview",
"messages": [{"role": "user", "content": "Hello!"}]
}' Models from Google with comparable capabilities and pricing.
Access Gemini 3.1 Pro Preview and 200+ other AI models through nexos.ai.
Common questions about Gemini 3.1 Pro Preview, its availability and usage.
Gemini 3.1 Pro Preview pricing starts at $2.00 per 1 million input tokens and $12.00 per million output tokens. Prices may vary depending on the provider, region, and caching options. See the pricing table above for a full comparison.
Gemini 3.1 Pro Preview supports a context window of 1,048,576 tokens, with a maximum output of 65,536 tokens. The context window determines how much information the model can process in a single request.
Gemini 3.1 Pro Preview supports vision, tool calling, prompt caching, reasoning, web search, and structured JSON output. These features can be used individually or together, depending on the model and your application’s requirements.
Gemini 3.1 Pro Preview is available through Google Agent Platform, with deployment options in the Global region. Availability may vary by provider. See the provider comparison table above for details.
Zero data retention (ZDR) is available for Gemini 3.1 Pro Preview through Google Agent Platform. With ZDR, supported providers do not retain request and response content after processing, subject to their applicable policies.
To use Gemini 3.1 Pro Preview through nexos.ai, you’ll need an Enterprise plan. Once your account is set up, create an API key, set your base URL to https://api.nexos.ai/v1, and specify gemini-3-1-pro-preview in your API request. nexos.ai is OpenAI-compatible, so you can use your existing SDK integration by updating the API key, base URL, and model ID.