Skip to content

Providers / Google (Gemini)

Google (Gemini)

Google builds the Gemini family of models, developed by its Google DeepMind lab. Gemini models take text, images, audio, video and files as input and write text. The Gemini 3 line has a Pro tier and two fast tiers, Flash and Flash-Lite. Gemini 3.8 Flash is the newest Flash model we offer.

Models

USD per 1M tokens · prices as of 2026-11-21

ModelBest forInputOutputContext
Gemini 3 Flash Preview$0.5757$3.4545977K
Gemini 3.1 Flash-LiteCheap bulk work (classification, extraction)$0.2879$1.7272977K
Gemini 3.1 Pro PreviewHard reasoning, planning and debugging · Long context (large repos, long PDFs, recordings)$2.3030$13.8178195K
Gemini 3.6 FlashMinimal reasoning$0.8636$4.3181977K
Gemini 3.8 FlashCoding agent, everyday work · Quick edits, short questions · Long context (large repos, long PDFs, recordings)$0.8636$4.3181977K

Which model for which job

JobUseInput / output per 1MWhy
Coding agent, everyday workGemini 3.8 Flash$0.8636 / $4.3181Newest Flash model; large context at a low price
Hard reasoning, planning and debuggingGemini 3.1 Pro Preview$2.3030 / $13.8178Pro tier; still in preview, so Google may change it
Quick edits, short questionsGemini 3.8 Flashat low effort$0.8636 / $4.3181Fast tier
Long context (large repos, long PDFs, recordings)Gemini 3.1 Pro PreviewGemini 3.8 Flash$2.3030 / $13.8178$0.8636 / $4.3181About 1M tokens and mixed media input
Cheap bulk work (classification, extraction)Gemini 3.1 Flash-Litewith the Batch API$0.2879 / $1.7272Google’s low-cost, low-latency tier
Minimal reasoningGemini 3.6 Flash$0.8636 / $4.3181Lists a minimal thinking level, which 3.8 Flash does not

Data handling

What Google publishes

What Yunshu does

Pricing notes

Use it in your coding tool

Paste these settings to use Gemini 3 Flash Preview. Swap in any Google model ID from the table above.

export ANTHROPIC_BASE_URL=https://api.yunshurouter.com
export ANTHROPIC_AUTH_TOKEN=YOUR_YUNSHU_KEY
export ANTHROPIC_MODEL=gemini-3-flash-preview
export CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1

Run these in your shell before starting Claude Code, or put them in ~/.claude/settings.json (see the guide). No /v1 in the address: Claude Code adds it. The last line stops Claude Code sending fields only Anthropic models accept. Full guide →

Questions

Is there a Gemini API without a Google Cloud account?
How much does Gemini 3.8 Flash cost per token?
Which Gemini model is cheapest?
Can I turn off Gemini’s reasoning?