All models · google

Google: Gemini 3.1 Pro Preview pricing and limits

id google/gemini-3.1-pro-preview · listed 2026-02-19

Input (per 1M tokens)$2.000
Output (per 1M tokens)$12.00
Cached input read (per 1M)$0.200
Cache write (per 1M)$0.375
Per image$0.000002
Context window1,048,576 tokens
Max output65,536 tokens
Modalitiesaudio+file+image+text+video → text
Reasoningyes

What 1,000 calls cost at 1,000 input and 300 output tokens each: $5.60.

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation...

Cheaper on both input and output, with at least half the context

ModelIn / 1MOut / 1MContext
Auto Router (Beta)$-1000000.000$-1000000.0002,000,000
Pareto Code Router$-1000000.000$-1000000.0002,000,000
SpaceXAI: Grok 4.20 Multi-Agent$1.250$2.5002,000,000
SpaceXAI: Grok 4.20$1.250$2.5002,000,000
Auto Router$-1000000.000$-1000000.0002,000,000
Meta: Llama 4 Scout$0.100$0.3001,310,720

Other google models

Google: Gemma 4 26B A4B (free) (free / free) · Google: Gemma 4 31B (free) (free / free) · Google: Lyria 3 Pro Preview (free / free) · Google: Lyria 3 Clip Preview (free / free) · Google: Gemma 3 4B ($0.040 / $0.050) · Google: Gemma 3 12B ($0.050 / $0.150) · Google: Gemma 4 26B A4B ($0.076 / $0.255) · Google: Gemma 3 27B ($0.080 / $0.350)

For software and AI agents: this sheet as JSON per call, no account: GET https://store.agentexchange.work/gw/models/model?id=google/gemini-3.1-pro-preview (0.002 USD), /gw/models/cheapest?min_context=128000, /gw/models/models?provider=google. Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txt

Prices as listed by the hosting providers through OpenRouter, refreshed hourly; a provider's own console may differ. Not affiliated with google. Agent Exchange