Gemini 3.1 Pro Preview API pricing
$1.20 in, $7.20 out per million tokens, 40% under Google's list price.
Price · per million tokens, USD
Get a key| Tokens | Google list price | UplinkSwitch | Saving |
|---|---|---|---|
| Input | $2.00 | $1.20 | -40% |
| Cached input | $0.20 | $0.12 | -40% |
| Output | $12.00 | $7.20 | -40% |
List price: Google's published rate, read October 2026. Prices read from the live catalog on 2026-12-03; the page follows the catalog.
Real-model check: Steady since Nov 24
Gemini 3.1 Pro Preview vs Gemini 3 Pro Preview price · per million tokens, USD
Gemini 3 Pro Preview| Tokens | Gemini 3 Pro Preview | Gemini 3.1 Pro Preview | List change |
|---|---|---|---|
| Input | $5.00list $2.00 | $1.20list $2.00 | same |
| Cached input | input ratelist $0.20 | $0.12list $0.20 | same |
| Output | $22.50list $12.00 | $7.20list $12.00 | same |
Gemini 3.1 Pro Preview specs
- Context window
- 1,048,576 tokens
- Max output
- 65,536 tokens
- Input
- text, image, audio and video
- Released
- February 19, 2026
Gemini 3.1 Pro Preview API key · base URL and setup
- Create a key in the console at uplinkswitch.ai/console. Credit is prepaid from $10 with no subscription, and the key works at once.
- Point your SDK or tool at https://api.uplinkswitch.com/v1, for example with OPENAI_BASE_URL, and send the key as the bearer token.
- Send gemini-3.1-pro-preview as the model. The same key calls every other model in the catalog.
Python · OpenAI SDK
from openai import OpenAI
client = OpenAI(
base_url="https://api.uplinkswitch.com/v1",
api_key="sk-uplink-live-...",
)
completion = client.chat.completions.create(
model="gemini-3.1-pro-preview",
messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)TypeScript · OpenAI SDK
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.uplinkswitch.com/v1',
apiKey: 'sk-uplink-live-...',
});
const completion = await client.chat.completions.create({
model: 'gemini-3.1-pro-preview',
messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);curl
curl https://api.uplinkswitch.com/v1/chat/completions \
-H "authorization: Bearer sk-uplink-live-..." \
-H "content-type: application/json" \
-d '{"model":"gemini-3.1-pro-preview","messages":[{"role":"user","content":"Hello"}]}'What would it cost? · paste a prompt, priced before you send it
Input is counted at about 4 characters per token.
More from Google
Compare: Gemini 3.1 Pro Preview vs Claude Opus 5.5, Gemini 3.1 Pro Preview vs GPT-6.1 Sol, Gemini 3.1 Pro Preview vs Gemini 3.8 Flash, Gemini 3.1 Pro Preview vs Gemini 2.5 Pro.
Gemini 3.1 Pro Preview questions
Gemini 3.1 Pro Preview is a model from Google, released February 19, 2026, with a 1,048,576-token context window, taking text, image, audio and video input. Through UplinkSwitch it answers the OpenAI SDK on one key as gemini-3.1-pro-preview.
$1.20 per million input tokens and $7.20 per million output tokens, with cached input at $0.12. Google's list price is $2.00 and $12.00, so this is 40% under Google's list price.
It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0048.
Gemini 3.1 Pro Preview has a 1,048,576-token context window, with up to 65,536 output tokens per request. It takes text, image, audio and video input.
gemini-3.1-pro-preview. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.
Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. The same key calls Gemini 3.1 Pro Preview and every other model in the catalog; send it as the bearer token with base URL https://api.uplinkswitch.com/v1.
Every day each model gets the same test prompt, and the results are public on /proof. Gemini 3.1 Pro Preview's latest result: Steady since Nov 24.
Per million tokens here, Gemini 3.1 Pro Preview is $1.20 input and $7.20 output; Gemini 3 Pro Preview is $5.00 and $22.50. Google's list price went from $2.00 and $12.00 on Gemini 3 Pro Preview to $2.00 and $12.00 on Gemini 3.1 Pro Preview. One key calls both, so switching is a change of model id.