GPT-6 Sol & Claude Opus 5.5 are liveGPT-6 Sol at half the price of 5.6 Sol

Gemini 3.1 Pro Preview API

LLM

Gemini 3.1 Pro Preview is the featured Gemini preview with 1M context, vision, and tool use.

Read the docsGet your API key
  • Input · <=200K$0.8 USDOfficial price$2 USD
  • Output · <=200K$4.8 USDOfficial price$12 USD
  • Input · 200K-1M$1.6 USDOfficial price$4 USD
  • Output · 200K-1M$7.2 USDOfficial price$18 USD
  • Savings60%
  • Context1M
  • Last verified2026-07-22
  • View tool pricing and billing rules

What are we making today?

Bring an idea, a question, or a first draft.

Enter to send · Shift + Enter for a new line

01

Where it fits

Gemini 3.1 Pro Preview is the featured Gemini preview with 1M context, vision, and tool use.

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?

Rates vary with input context length: <=200K: Input $0.8 USD, Output $4.8 USD, Cache hit / 1M $0.08 USD; 200K-1M: Input $1.6 USD, Output $7.2 USD, Cache hit / 1M $0.16 USD.

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.