Gemini API Cost Calculator
Estimate Google Gemini API costs for multimodal apps, chat experiences, assistants, and production API usage.
Use the AI API Cost CalculatorWhat This Calculator Helps Estimate
- Input token cost for text, image, video, and mixed prompts.
- Output token cost for generated answers and summaries.
- Cached input token cost for repeated context.
- API calls, billing period assumptions, and monthly spend.
Supported Models
- Gemini 3.5 Flash
- Gemini 3.1 Flash-Lite
- Gemini 2.5 Pro
- Gemini 2.5 Flash
- Gemini 2.5 Flash-Lite
How Cost Is Calculated
Total cost = Input cost + Cached input cost + Output cost
Gemini projects may mix text and multimodal inputs. Use token estimates and call counts to compare lightweight Flash models with larger Pro usage patterns.
Pricing Note
Gemini pricing uses Standard Paid Tier text/image/video token prices. It does not include audio, grounding, storage, Batch, Flex, Priority, or Live API special pricing. Always verify official Google Gemini API pricing for production planning.
Common Use Cases
- Multimodal AI apps
- Chat assistants
- Real-time AI features
- Document and image understanding
- High-volume lightweight tasks
FAQ
How are Gemini API costs calculated?
Gemini API costs are estimated from input tokens, cached input tokens, output tokens, and API call volume for the selected billing period.
What is the difference between Gemini Flash and Flash-Lite?
Flash-Lite models are typically aimed at very cost-sensitive and high-volume tasks, while Flash models can be used for broader interactive workloads.
Why does Gemini 2.5 Pro have pricing notes?
Some Gemini pricing can depend on prompt size or usage tier. The main calculator uses the listed reference tier and includes notes for important differences.
Can this calculator estimate monthly Gemini API spend?
Yes. Enter expected tokens per call and API call volume, then use the billing period controls to estimate monthly or yearly spend.