Gemini 3.1 Pro Preview API

Model ID: gemini-3.1-pro-preview · Google · Billed per token

Gemini 3.1 Pro Preview pricing

AibermOfficial
Input$0.460 / 1M tokens—
Output$2.76 / 1M tokens—

Prices in USD. Pay as you go, no minimum spend.

Get an API key · Read the docs

How to call Gemini 3.1 Pro Preview

Use your Aiberm API key, set the base URL, and pass gemini-3.1-pro-preview as the model name.

Supported request formats:

curl https://aiberm.org/v1/chat/completions \
  -H "Authorization: Bearer $AIBERM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemini-3.1-pro-preview", "messages": [{"role": "user", "content": "Hello"}]}'

Use Gemini 3.1 Pro Preview in your tools

FAQ

How much does the Gemini 3.1 Pro Preview API cost?

On Aiberm, Gemini 3.1 Pro Preview (gemini-3.1-pro-preview) costs $0.460 per 1M input tokens and $2.76 per 1M output tokens. You pay only for the tokens you use, with no minimum spend.

How do I call Gemini 3.1 Pro Preview through Aiberm?

Set the base URL to https://aiberm.org, use gemini-3.1-pro-preview as the model name, and authenticate with your Aiberm API key. Supported request formats: Gemini, OpenAI Chat Completions.

Can I use Gemini 3.1 Pro Preview in OpenCode, OpenClaw or Pi?

Yes. Add Aiberm as a provider in OpenCode, OpenClaw, Pi with the base URL and your API key, then select gemini-3.1-pro-preview. Each tool has a step-by-step guide in the Aiberm docs.

More Google models

All models and prices