Estimate a Gemini call
Sample
Input: 10,000 tokens Output: 500 tokens
What you get
Adjust model tier to match Google AI Studio or Vertex pricing.
Google's Gemini 3.1 Deep Think models introduce variable-cost thinking tokens. This calculator helps you estimate total API spend including both standard and thinking tokens across Pro, Flash, and Nano tiers.
| Model | Input | Output | Thinking |
|---|---|---|---|
| Gemini 3.1 Pro | $3.50 | $10.50 | $10.50 |
| Gemini 3.1 Flash | $0.07 | $0.30 | $0.30 |
| Gemini 3.1 Nano | $0.03 | $0.10 | $0.10 |
Sample
Input: 10,000 tokens Output: 500 tokens
What you get
Adjust model tier to match Google AI Studio or Vertex pricing.
Calculate API costs for all GPT-5.4 models with current 2026 pricing.
Estimate costs for Claude 4.7 Opus, Sonnet, and Haiku models.
Estimate GPU and cloud costs for self-hosting Llama 4 models.
Compare RAG and fine-tuning costs to find the optimal approach for your project.
Count tokens, words, and characters across all major LLMs and estimate API costs in real time.