Google: Gemini 3.1 Pro Preview

Coming soonQuick Start

Gemini 3.1 Pro Preview is Google's frontier reasoning model, released 2026-02, focused on software engineering and autonomous agent workflows. It builds on the Gemini 3 multimodal foundation with improved long-horizon stability and token efficiency, and adds a medium thinking level to balance cost and speed. The update brings measurable gains in SWE benchmarks and structured domains such as finance and spreadsheet automation.

This model is not routed on MirAPI yet — prices shown are the official list prices. Create an account to get notified when it goes live.

Modalities
inAudioinFileinImageinTextinVideooutText
Price / 1M
$2.00 / $12.00
Context
1.049M
Knowledge cutoff

Capabilities

ReasoningVisionTool useLong contextPrompt cachingStructured output

Benchmarks

bar = score (0–100) · ▏ median

Scores from vendor reports and public leaderboards. No private evals.

Intelligence Index
General ability
47.7
#25
Coding Index
Code
68.8
#21
Agentic Index
Agentic
23.0
#43
GPQA Diamond
Science QA
94.3
#1
τ-bench (airline)
Agentic tool use
73.3
#35

Showcase

Three fixed prompts, identical for every chat model. Outputs are archived verbatim — copy the prompt to reproduce.

Task prompt · identical for all models
Build a single-file HTML page using three.js from a CDN: a low-poly planet with a tilted ring of ~200 orbiting particles, a soft key light plus rim light, slow auto-rotation, and drag-to-orbit controls. No build tools — one file only.
Archived output
Archive not published yet

Every model will run this exact prompt; the output lands here verbatim, with tokens and per-run cost.

Quick Start

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.chat.completions.create(
    model="google/gemini-3.1-pro-preview",
    messages=[{"role": "user", "content": "Hello"}],
)
Wire Gemini 3.1 Pro Preview into your product

1M free tokens to start · no card · OpenAI-compatible, one base_url change

Start free