Gemini 3.1 Pro API pricing

Call gemini-3.1-pro through RouterPlex's OpenAI-compatible API — vendor list price, 0% markup, billed per token from a prepaid balance. No subscription required.

Input / 1M tokens
$2.00
Output / 1M tokens
$12.00
Context window
1M
Provider
Google

Use it in one request.

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

Works with any OpenAI SDK or tool — just change the base URL. See the quickstart.

Common questions.

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 is the context window of Gemini 3.1 Pro?

Gemini 3.1 Pro supports a 1M token context window on RouterPlex.

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".

Try Gemini 3.1 Pro in minutes.

Top up from $5, or see all model pricing and plans.

Get my API key
Gemini 3.1 Pro API Pricing · RouterPlex