Gemini 3.7 Flash vs Gemini 3.8 Flash
As of October 21, 2026, Gemini 3.7 Flash and Gemini 3.8 Flash cost the same: $0.75 per 1M input tokens and $3.75 per 1M output tokens, and both have a 1M-token context window.
Gemini 3.7 Flash vs Gemini 3.8 Flash side by side
| Gemini 3.7 Flash | Gemini 3.8 Flash | |
|---|---|---|
| Input, per 1M tokens | $0.75 | $0.75 |
| Output, per 1M tokens | $3.75 | $3.75 |
| Cache read, per 1M tokens | $0.075 | $0.075 |
| Cache write, per 1M tokens | – | – |
| Context window | 1,048,576 tokens | 1,048,576 tokens |
| Max output | 65,536 tokens | 65,536 tokens |
| Image input | Yes | Yes |
| Tool calling | Yes | Yes |
| Structured output (JSON) | Yes | Yes |
| Prompt caching | Yes | Yes |
| Reasoning | Yes | Yes |
| Providers on LiteLLM | 7 | 5 |
| Price shown is from | Google AI Studio | Google AI Studio |
| Added to LiteLLM | August 13, 2026 | September 2, 2026 |
Cheapest provider for each
- Gemini 3.7 Flash: Google AI Studio at $0.75 input and $3.75 output per 1M tokens (
gemini/gemini-3.7-flash) - Gemini 3.8 Flash: Google AI Studio at $0.75 input and $3.75 output per 1M tokens (
gemini/gemini-3.8-flash)
Benchmark scores
| Benchmark | Gemini 3.7 Flash | Gemini 3.8 Flash |
|---|---|---|
| Overall | ||
| Epoch Capabilities Index | 158.0 | 157.4 |
| Coding and agents | ||
| FrontierCode | 43.6% | 41.2% (medium) |
| FrontierSWE | 20.3% (high) | 19.6% (high) |
| APEX-Agents | 67.8% | 64.3% |
| Reasoning and knowledge | ||
| GPQA Diamond | 94.8% (high) | 95.4% (high) |
| ARC-AGI-2 | 84.6% (high) | 89.2% (high) |
| SimpleQA Verified | 69.2% (high) | 69.7% (high) |
| Math | ||
| FrontierMath (tiers 1-3) | 71.6% (high) | 68.4% (high) |
| FrontierMath (tier 4) | 36.6% (high) | 22.0% (high) |
| OTIS Mock AIME 2024-2025 | 97.2% (high) | 98.9% (high) |
Call Gemini 3.7 Flash or Gemini 3.8 Flash with LiteLLM
Both use the OpenAI format through LiteLLM, so switching is a model name change. Set each provider's API key in the environment first.
Python SDK
from litellm import completion
messages = [{"role": "user", "content": "Hello!"}]
# Gemini 3.7 Flash
response = completion(model="gemini/gemini-3.7-flash", messages=messages)
# Gemini 3.8 Flash
response = completion(model="gemini/gemini-3.8-flash", messages=messages)
# Gemini 3.7 Flash, falling back to Gemini 3.8 Flash if the call fails
response = completion(model="gemini/gemini-3.7-flash", messages=messages, fallbacks=["gemini/gemini-3.8-flash"])FAQ
Which is cheaper, Gemini 3.7 Flash or Gemini 3.8 Flash?
They cost the same: $0.75 per 1M input tokens and $3.75 per 1M output tokens, as of October 21, 2026.
Which has the larger context window, Gemini 3.7 Flash or Gemini 3.8 Flash?
Both have a 1,048,576-token context window.
Can I switch from Gemini 3.7 Flash to Gemini 3.8 Flash without changing my code?
Yes. Through LiteLLM both use the OpenAI format, so switching means changing the model name from "gemini/gemini-3.7-flash" to "gemini/gemini-3.8-flash", or pointing a LiteLLM gateway model alias at the other model. You can also use one as a fallback for the other.
