Gemini · Fast / Budget · 1,000K context window
$0.0225 per call at 6,000 input / 1,500 output tokens.
Per call
$0.0225
10K calls/mo
$225
Cache savings
75% off input
Batch savings
50% off all
Adjust token counts, volume, and discount toggles to model your rag pipeline spend. Pricing updated weekly.
Call Gemini 3.5 Flash with the Google Generative AI SDK:
import google.generativeai as genai
model = genai.GenerativeModel("gemini-3.5-flash")
response = model.generate_content("Your prompt here")
# Cost: ~$0.0225 per call at standard rates
# Input: $1.50/MTok
# Output: $9.00/MTokPer-call cost for all models scoring 50+ on rag pipeline benchmarks. Hover for details.
Cheapest viable option: Gemini 3 Flash at $0.007500/call (67% less, 82/100 quality).
| Direction | $/MTok | Tokens per call |
|---|---|---|
| Input | $1.50 | 6,000 |
| Output | $9.00 | 1,500 |
Caching drops input cost from $1.50 to $0.38/MTok. For repeated system prompts, that saves $0.006750 per call.
Submit requests asynchronously and receive 50% off all token costs. This works best for offline pipelines where latency requirements are flexible.
| Monthly volume | Cost per call | Standard monthly | Cached monthly | You save with caching |
|---|---|---|---|---|
| 10,000 calls | $0.0225 | $225 | $157.5 | $67.5 |
| 50,000 calls | $0.0225 | $1,125 | $787.5 | $337.5 |
| 100,000 calls | $0.0225 | $2,250 | $1,575 | $675 |
| 500,000 calls | $0.0225 | $11,250 | $7,875 | $3,375 |
| 1,000,000 calls | $0.0225 | $22,500 | $15,750 | $6,750 |
Gemini 3.5 Flash is a solid pick for rag pipeline
Scores 84/100 (rank #5 of 14). Good balance of quality and cost for rag pipeline.
Top-ranked: GPT 5.6 Terra (92/100) at $0.0375/call
Gemini 3.5 Flash scores by task type. RAG Pipeline highlighted.
| Task type | Confidence score | Rank out of 14 |
|---|---|---|
| Classification | 92/100 | #1 |
| Extraction | 90/100 | #1 |
| Summarization | 85/100 | #3 |
| Q&A(current page) | 84/100 | #5 |
| Code Generation | 68/100 | #7 |
| Code Review | 65/100 | #6 |
| Reasoning | 60/100 | #6 |
| Creative Writing | 55/100 | #6 |
12 models score 80+ on rag pipeline benchmarks, sorted by input rate. Cheapest: Gemini 3 Flash (67% less, 82/100 quality).
| Model | Provider | Input $/MTok | Output $/MTok | Quality | Per call | vs Gemini |
|---|---|---|---|---|---|---|
| Gemini 3 Flash | Gemini | $0.50 | $3.00 | 82/100 | $0.007500 | 67% cheaper |
| Claude Haiku 4.5 | Claude | $1.00 | $5.00 | 86/100 | $0.0135 | 40% cheaper |
| GPT 5.6 Luna | GPT | $1.00 | $6.00 | 85/100 | $0.0150 | 33% cheaper |
| Claude Sonnet 5 | Claude | $2.00 | $10.00 | 89/100 | $0.0270 | 20% more |
| Gemini 3.1 Pro | Gemini | $2.00 | $12.00 | 87/100 | $0.0300 | 33% more |
| GPT 5.4 | GPT | $2.50 | $15.00 | 91/100 | $0.0375 | 67% more |
| GPT 5.6 Terra | GPT | $2.50 | $15.00 | 92/100 | $0.0375 | 67% more |
| Claude Sonnet 4.6 | Claude | $3.00 | $15.00 | 88/100 | $0.0405 | 80% more |
| Claude Opus 4.8 | Claude | $5.00 | $25.00 | 85/100 | $0.0675 | 200% more |
| GPT 5.5 | GPT | $5.00 | $30.00 | 90/100 | $0.0750 | 233% more |
| GPT 5.6 Sol | GPT | $5.00 | $30.00 | 91/100 | $0.0750 | 233% more |
| Claude Fable 5 | Claude | $10.00 | $50.00 | 88/100 | $0.1350 | 500% more |
Provider
Gemini
Tier
Fast / Budget
Context
1,000K tokens
Released
May 2026
| Model | Tier | Input $/MTok | Output $/MTok | Context |
|---|---|---|---|---|
| Gemini 3.1 Pro | Mid-tier | $2.00 | $12.00 | 1,000K |
| Gemini 3 Flash | Fast / Budget | $0.50 | $3.00 | 1,000K |
| Gemini 3.5 Flash-Lite | Fast / Budget | $0.25 | $1.50 | 1,000K |
You can compare Gemini 3.5 Flash head-to-head against any other model on our model comparison pages, or track how pricing has changed over time on the pricing history tracker.
See how Gemini 3.5 Flash costs change across different workload types.
Code Generation
$0.0390/call
Unit Test Generation
$0.0495/call
SQL Generation
$0.0113/call
API Generation
$0.0585/call
Code Refactoring
$0.0420/call
Code Review
$0.0255/call
PR Review
$0.0390/call
Security Review
$0.0315/call
Bug Detection
$0.0255/call
Document Summarization
$0.0240/call
PDF Summarization
$0.0360/call
Meeting Notes
$0.0300/call
Email Summarization
$0.009000/call
Chatbot
$0.0120/call
Customer Support Bot
$0.0135/call
FAQ Bot
$0.009450/call
Data Extraction
$0.0150/call
JSON Extraction
$0.0117/call
Invoice Parsing
$0.008400/call
Resume Parsing
$0.0110/call
Chain of Thought
$0.0495/call
Legal Analysis
$0.0510/call
Math Reasoning
$0.0292/call
Financial Analysis
$0.0480/call
Content Moderation
$0.001650/call
Sentiment Analysis
$0.001650/call
Categorization
$0.002550/call
Intent Detection
$0.001350/call
Copywriting
$0.0188/call
Blog Writing
$0.0735/call
Marketing Copy
$0.0282/call
Product Descriptions
$0.0143/call
$0.0225 per call at 6,000 input / 1,500 output tokens.
Scores 84/100, rank #5 of 14 models. Top-ranked: GPT 5.6 Terra at 92/100.
Gemini 3 Flash scores 82/100 quality at $0.50/$3.00 per MTok. That is 67% less than Gemini 3.5 Flash per call.
Three strategies: prompt caching (75% off input), batch API (50% off all tokens), prompt optimization. Combined: $0.0225 drops to about $0.002812 per call.
Gemini also offers: Gemini 3.1 Pro at $2.00/$12.00, Gemini 3 Flash at $0.50/$3.00, Gemini 3.5 Flash-Lite at $0.25/$1.50.
1,000K tokens total. Typical rag pipeline calls use 6,000 plus 1,500 tokens, well within limits.
This calculator estimates costs based on published rates only. Connect your API usage to see where your money goes and which models drive your spend.