Limited time · same models — GPT 93% off, Claude 80% off
All models
Google · API

Gemini 3.1 Pro Preview API

Use 1M context with one OmniaKey API key.

Model ID
gemini-3.1-pro-preview
Context
1M
Provider
Google
Input · USD / 1M tokens
$1.6 USD
Official price $2 USD
Output · USD / 1M tokens
$9.6 USD
Official price $12 USD
Savings
20%
Last verified
2026-07-14

01

Where it fits

Choose it when evaluating the 3.1 Pro preview line in long-context, multimodal agent workflows.

02

Model capabilities

Vision

Accepts visual input alongside text for multimodal coding and analysis tasks.

Tool use

Can select and call tools in agent workflows that support structured tool use.

03

OpenAI-compatible API

Keep your client and change the base URL, API key, and model ID.

curl
curl https://api.omniakey.com/v1/chat/completions \
  -H "Authorization: Bearer $OMNIAKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-pro-preview",
    "messages": [{"role": "user", "content": "Explain this codebase"}],
    "stream": true
  }'

04

Compatible coding tools

Cursor
Cline
Aider

More Google models

Frequently asked questions

How much does Gemini 3.1 Pro Preview cost on OmniaKey?

OmniaKey charges $1.6 USD per 1M input tokens and $9.6 USD per 1M output tokens, in USD. Official prices are $2 USD and $12 USD; you save 20%.

What is the context window for Gemini 3.1 Pro Preview?

The listed context window is 1M. Actual usable limits can also depend on the client and upstream request format.

Which coding tools work with Gemini 3.1 Pro Preview?

The current catalog lists compatibility with Cursor, Cline, Aider. Use the model ID shown on this page when the client supports model selection.

Gemini 3.1 Pro Preview API, Pricing & Coding Guide · OmniaKey