Skip to content
INFRO

Google · Text

Gemini 3.1 Pro API pricing

google/gemini-3.1-pro

Multimodal reasoning. Gemini 3.1 Pro by Google, called through one INFRO key alongside every other model you run. We price it 25% below Google's direct rate — the same model, the same weights, reached through a different integration.

Pricing

Per 1M tokensUSD · updated 2026-08-24

Google direct

$4.50

per 1M tokens

INFRO

$3.38

per 1M tokens

You save

25%

on every unit

Per-token rates

$1.50 / 1M input tokens·$9.00 / 1M output tokens

The headline figure above is these two blended at a 3:1 input:output ratio, so one number is comparable across modalities. Your own ratio will move it.

Illustrative launch rates, reconciled against published provider pricing on 2026-08-24. Live rates come from GET /v1/models once your key is active.

Calling Gemini 3.1 Pro

POST /v1/chat/completionsAt launchCommitted to the first release. In build now, not usable yet.
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["INFRO_API_KEY"],
    base_url="https://api.infro.io/v1",
)

response = client.chat.completions.create(
    model="google/gemini-3.1-pro",
    messages=[{"role": "user", "content": "Hello"}],
)

What this modality supports

  • Streaming
  • Tool calling
  • Structured outputs
  • Prompt caching

Frontier and open-weight language models behind an OpenAI-compatible endpoint. Streaming, tool calling, structured outputs, and vision pass straight through — and prompt caching is billed at the provider's cached rate, so the discount compounds.

Same modality, nearest in price. All of them share the request shape above, so comparing them is a one-word change.

Work out what Gemini 3.1 Pro would cost you

Put your current spend on this model into the calculator and see the same workload priced here — or have us read your real usage.