Gemini 3.1 Pro API pricing.

One OpenAI-compatible route at the vendor list price with 0% markup, billed per token from one prepaid balance. No subscription required.

Google route

gemini-3.1-pro

Route status Available

#66

Cost rank / 85

premium

Cost band

Published route economicsUSD / 1M tokens

Input / 1M tokens

$2.00

Output / 1M tokens

$12.00

Context window

1M

Provider

Google

Workload calculator

Put the token rate into context.

These examples apply the published input and output rates directly. Actual cost follows the exact tokens your client sends and the model returns.

This route is the 66th cheapest of 85 comparable text models and cheaper than 18 on the same key. Its context window ranks 44th of 85.

Cost simulationPublished base rate

Short request

$0.032

10K input + 1K output

Agent turn

$0.32

100K input + 10K output

Exact token billing

No request minimum

One model ID change

OpenAI compatible

Cost neighbourhood

Nearby routes, same workload.

Every comparison uses the same 100K-input / 10K-output turn. Changing route is a one-line model ID edit.

Price does not measure task quality. For generation routes, see GPT Image 2.

First request

Route it in one call.

Use any OpenAI SDK or tool. Keep the request shape, point the base URL at RouterPlex, and set the model ID shown here.

Read the quickstart
curl /chat/completions
curl https://api.routerplex.com/v1/chat/completions \
-H "Authorization: Bearer $ROUTERPLEX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-pro",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Route notes

Questions before production traffic.

Same endpoint, every route
How much does the Gemini 3.1 Pro API cost?
Through RouterPlex, Gemini 3.1 Pro costs $2.00 per 1M input tokens and $12.00 per 1M output tokens — the vendor list price with 0% markup, billed per token from a prepaid balance you top up from $5.
What does one Gemini 3.1 Pro agent turn cost?
A 100K-token input with a 10K-token reply costs about $0.32 on Gemini 3.1 Pro. That makes it the 66th cheapest of 85 comparable text models on RouterPlex, roughly 26.7× the cost of the cheapest option (Muse Spark 1.2 Contributor).
What is a cheaper alternative to Gemini 3.1 Pro?
GPT-6.2 Sol from OpenAI is the closest cheaper model on RouterPlex — $0.30 per agent turn against $0.32 for Gemini 3.1 Pro, at $2.00/1M input and $10.00/1M output. Both run on the same key and the same endpoint, so switching is a one-line model ID change.
Is Gemini 3.1 Pro cheaper than Qwen3.7 Max?
Yes. Per agent turn, Gemini 3.1 Pro costs about $0.32 against $0.33 for Qwen3.7 Max — 2% less.
What is the context window of Gemini 3.1 Pro?
Gemini 3.1 Pro supports a 1M token context window on RouterPlex, the 44th largest of the 85 models that publish one.
Can I use Gemini 3.1 Pro with the OpenAI SDK?
Yes. RouterPlex serves Gemini 3.1 Pro through an OpenAI-compatible endpoint at https://api.routerplex.com/v1 — point any OpenAI SDK or tool at that base URL with your RouterPlex key and set model to "gemini-3.1-pro".

Put Gemini 3.1 Pro behind one key.

Top up from $5 with no subscription required.