← models

Google

Gemini models — Google's latest AI with multimodal support and 1M context

Website·Docs·Pricing·Sign Up

API Configuration

API Typegoogle-generative-ai
Base URLhttps://generativelanguage.googleapis.com
Auth Modeapi_key
Auth Keys
GOOGLE_API_KEYAPI Key — obtain from https://aistudio.google.com/
Regionsus, eu
Default Modelgemini-2.5-pro
Statusactive

Pricing

Pay-as-you-go per token with tiered pricing by context length. Free tier available with rate limits. See ai.google.dev/pricing.

Getting Started

Sign up at aistudio.google.com, create a project, then generate an API key. Free tier includes generous daily limits.

Models (4)

ModelContextMax OutputPricingFeatures
Gemini 3.1 Pro Preview
gemini-3.1-pro-preview
Advanced intelligence with complex problem-solving, 1M context
1.0M66KInput $2/M (≤200K) / $4/M (>200K), output $12/M (≤200K) / $18/M (>200K).(preview)
Gemini 3 Flash Preview
gemini-3-flash-preview
Frontier-class performance for agentic workflows with configurable reasoning
1.0M66KInput $0.50/M, output $3/M.(preview)
Gemini 2.5 Pro
gemini-2.5-pro
Most advanced stable model for complex tasks
1.0M66KInput $1.25/M (≤200K) / $2.50/M (>200K), output $10/M (≤200K) / $15/M (>200K).
Gemini 2.5 Flash
gemini-2.5-flash
Best price-performance for low-latency, high-volume tasks
1.0M66KInput $0.30/M, output $2.50/M.

Last verified: 2026-03-19