Eliminating the 4 Hidden Taxes: AI Tokens, Manual Work, SaaS Cliffs & AI Scrapers Sponsor this header →

Google: Gemini 3.1 Pro Preview API Pricing & Cost Breakdown

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...

google/gemini-3.1-pro-preview
ReasoningVision
Last checked: Nov 21, 2026
Input / 1M Tokens
$2.00
Prompt & context tokens
Output / 1M Tokens
$12.00
Generated completion tokens
Blended (3:1) / 1M
$4.50
Tier: balanced
Context Window
1.05M
Max output: 66K

Technical Specifications

Canonical IDgoogle/gemini-3.1-pro-preview
ProviderGoogle
Input Modalitiesaudio, file, image, text, video
Output Modalitiestext
Open-WeightNo (Proprietary API)
Reasoning OptimizedYes
Vision SupportYes

Estimated Monthly API Spend

StageMonthly TokensEst. Cost
Prototype / MVP
500 req/day
22.5M in / 6.0M out $117.00/mo
Growing SaaS
10,000 req/day
600.0M in / 150.0M out $3,000/mo
Scale Production
100,000 req/day
7500.0M in / 1800.0M out $36,600/mo
Simulate Custom Volume → Cut Cost via 3-Tier Cascade →

Deploy or Route Google: Gemini 3.1 Pro Preview

Multi-Provider Gateway

OpenRouter

Unified API gateway for 300+ LLMs with automatic fallbacks and unified billing.

Call via OpenRouter →
Edge AI Gateway

Cloudflare Workers AI

Global edge AI gateway with response caching, rate-limiting, and serverless workers.

Build on Cloudflare →
Multimodal API

Replicate

Pay-per-second cloud API for multimodal, vision, audio, and open-weight models.

Run on Replicate →

Some outbound infrastructure and API gateway links on KostoZero are partner referrals that help keep this observatory free and independent at no extra cost to you.

Cheaper Alternatives to Google: Gemini 3.1 Pro Preview

ModelProviderInput / 1MOutput / 1MBlendedContext
MoonshotAI: Kimi K3 Moonshotai $0.192 $16.00 $4.14 1.05M
Google: Gemini 4 Argon Google $2.00 $10.00 $4.00 1.05M
OpenAI: o3 OpenAI $2.00 $8.00 $3.50 200K
Perplexity: Sonar Reasoning Pro Perplexity $2.00 $8.00 $3.50 128K
MoonshotAI: Kimi K3.1 Pro Moonshotai $0.253 $8.80 $2.39 1.05M
Meta: Muse Spark 1.1 Meta $1.25 $4.25 $2.00 1.05M

Frequently Asked Questions

How much does Google: Gemini 3.1 Pro Preview API cost per 1M tokens?

Google: Gemini 3.1 Pro Preview costs $2.00 per 1M input tokens and $12.00 per 1M output tokens ($4.50 blended at a 3:1 ratio).

What is the maximum context window of Google: Gemini 3.1 Pro Preview?

Google: Gemini 3.1 Pro Preview supports up to 1,048,576 tokens (1.05M) of input context and up to 65,536 output completion tokens.

What are cheaper alternatives to Google: Gemini 3.1 Pro Preview?

Lower-cost options tracked right now include MoonshotAI: Kimi K3 ($4.14/1M), Google: Gemini 4 Argon ($4.00/1M), OpenAI: o3 ($3.50/1M).

Get Instant Price-Drop (>10%), New AI Bot & SaaS Cliff Alerts

Every 6 hours our autonomous sync checks 40+ LLMs, AI crawlers, and SaaS pricing cliffs—alerting you when prices drop >10% or new scrapers appear.