Gemini 3.1 Pro (preview)
Coming soonGoogle's most capable Gemini, in preview; priced for prompts up to 200K tokens.
Context window1.05M1,048,576 tokens
Input$3.004,140 IQDper 1M tokens
Output$18.0024,840 IQDper 1M tokens
Input modalitiesText, Image, Video, Audio→ Text
Providers3
Overview
| Model ID | google/gemini-3.1-pro-preview |
|---|---|
| Series | |
| Context window | 1,048,576 tokens |
| Max output | 65,536 tokens |
| Input modalities | Text, Image, Video, Audio |
| Output modalities | Text |
| Providers | 3 |
Context window: ai.google.dev/gemini-api/docs/models/gemini-3.1-pro-preview (2026-10-01): input 1,048,576, output 65,536
Price on OPTES
Our price, per provider, in US dollars and Iraqi dinars (1 USD = 1,380 IQD, rounded up to 10 IQD).
| Provider | Input | Output | Note |
|---|---|---|---|
| Google AI Studio | $3.00 · 4,140 IQD | $18.00 · 24,840 IQD | Lowest prompts up to 200K tokens |
Providers
Our price, per provider, in US dollars and Iraqi dinars (1 USD = 1,380 IQD, rounded up to 10 IQD).
| Provider | Input | Output | Note |
|---|---|---|---|
| Google AI Studio | $3.00 · 4,140 IQD | $18.00 · 24,840 IQD | Lowest prompts up to 200K tokens |
| Perplexity | $3.00 · 4,140 IQD | $18.00 · 24,840 IQD | Agent API, up to 200K |
| Google Cloud Vertex AI | $3.00 · 4,140 IQD | $18.00 · 24,840 IQD | Global, up to 200K |
Call it through the OPTES API
This model is coming soon to OPTES. This is how the call will look; your OPTES key will work for it.
curl https://api.optes3.com/v1/chat/completions \ -H "Authorization: Bearer $OPTES_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "google/gemini-3.1-pro-preview", "messages": [{"role": "user", "content": "Suggest three names for a café in Baghdad."}] }'import osfrom openai import OpenAIclient = OpenAI(base_url="https://api.optes3.com/v1", api_key=os.environ["OPTES_API_KEY"])resp = client.chat.completions.create( model="google/gemini-3.1-pro-preview", messages=[{"role": "user", "content": "Suggest three names for a café in Baghdad."}],)print(resp.choices[0].message.content)import OpenAI from "openai";const client = new OpenAI({ baseURL: "https://api.optes3.com/v1", apiKey: process.env.OPTES_API_KEY });const resp = await client.chat.completions.create({ model: "google/gemini-3.1-pro-preview", messages: [{ role: "user", content: "Suggest three names for a café in Baghdad." }],});console.log(resp.choices[0].message.content);Coming soon to OPTES Coming soon
Get your OPTES API key now. The same key will call this model when it opens.