Codestral 2508 vs Gemini 3.8 Flash
Pick up to 3 models · pricing, context and capabilities · simulate your product cost
Data updated on September 30, 2026· 217 models
Mistral's cutting-edge language model for coding released end of July 2025.
- Reasoning estimated
- Speed estimated
- Input
- Output
- Context
- 256 K tokens
- Max output
- ▲205 K
- Input, $ per 1M tokens
- ▲$0.300
- Output, $ per 1M tokens
- ▲$0.900
- Cache read, $ per 1M
- $0.030
- Batch (input / output)
- $0.150 / $0.450
- Tool calling
- Yes
- Released
- 07/30/2025
- Knowledge cutoff
- 2025-03
- API id
- mistralai/codestral-2508
Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.
- Reasoning estimated
- ▲
- Speed estimated
- ▲
- Input
- Output
- Context
- ▲1 M tokens
- Max output
- 66 K
- Input, $ per 1M tokens
- $0.750
- Output, $ per 1M tokens
- $3.75
- Cache read, $ per 1M
- $0.075
- Batch (input / output)
- $0.375 / $1.88
- Tool calling
- Yes
- Released
- ▲09/02/2026
- Knowledge cutoff
- —
- API id
- google/gemini-3.8-flash
Which is the better API choice: Codestral 2508 vs Gemini 3.8 Flash?
- Codestral 2508: cheapest input (60% less than Gemini 3.8 Flash)
- Codestral 2508: cheapest output
- Gemini 3.8 Flash: largest context (1 M)
- Gemini 3.8 Flash: the newest (09/02/2026)
- Gemini 3.8 Flash: most reasoning (estimated)
- Gemini 3.8 Flash: the fastest (estimated)
Codestral 2508 costs 60% less on input and 76% less on output than Gemini 3.8 Flash ($0.300 / $0.900 versus $0.750 / $3.75 per million tokens). Gemini 3.8 Flash accepts more context (1 M). On capabilities, Gemini 3.8 Flash accepts images; Gemini 3.8 Flash has a reasoning mode; only Gemini 3.8 Flash accepts audio. Codestral 2508 and Gemini 3.8 Flash offer a batch tier at half price for jobs that do not need an immediate answer.
What would your product cost?
Estimate the monthly cost with your app's real volume. List prices, no cache or batch discounts.
With Codestral 2508 you save $18.15 a month versus Gemini 3.8 Flash (69% less).
The 6 cheapest for this scenario (chat, last 12 months)
- 1Lyria 3 Pro Preview Google$0.00
- 2Lyria 3 Clip Preview Google$0.00
- 3Qwen3.7 Flash Qwen$0.97
- 4DeepSeek V4 Flash 0731 DeepSeek$1.55
- 5Ministral 3 3B 2512 Mistral$1.90
- 6Qwen3.5-Flash Qwen$2.02
Paste your prompt: tokens and cost per model
Rough estimate (about 4 characters per token). Nothing is sent to any server.
Cost of sending it 1,000 times (input only)
- 1Codestral 2508 Mistral$0.023
- 2Gemini 3.8 Flash Google$0.057
- 3Claude Sonnet 5.5 Anthropic$0.152
- 4Claude Sonnet 5 Anthropic$0.152
- 5Claude Opus 5.5 Anthropic$0.304
- 6Claude Opus 5 Anthropic$0.380
- 7Claude Fable 5.1 Anthropic$0.760
- 8Claude Fable 5 Anthropic$0.760
Popular comparisons
- Claude Sonnet 5.5 vs GPT-6.1 Sol
- Claude Sonnet 5.5 vs Gemini 3.8 Flash
- Claude Sonnet 5.5 vs DeepSeek V4.1 Flash
- Claude Sonnet 5.5 vs Grok 4.7
- GPT-6.1 Sol vs Gemini 3.8 Flash
- GPT-6.1 Sol vs DeepSeek V4.1 Flash
- GPT-6.1 Sol vs Grok 4.7
- Gemini 3.8 Flash vs DeepSeek V4.1 Flash
- Gemini 3.8 Flash vs Grok 4.7
- DeepSeek V4.1 Flash vs Grok 4.7
Frequently asked questions
Which is the better API choice: Codestral 2508 vs Gemini 3.8 Flash?
Codestral 2508 costs 60% less on input and 76% less on output than Gemini 3.8 Flash ($0.300 / $0.900 versus $0.750 / $3.75 per million tokens). Gemini 3.8 Flash accepts more context (1 M). On capabilities, Gemini 3.8 Flash accepts images; Gemini 3.8 Flash has a reasoning mode; only Gemini 3.8 Flash accepts audio. Codestral 2508 and Gemini 3.8 Flash offer a batch tier at half price for jobs that do not need an immediate answer.
Which is cheaper: Codestral 2508 and Gemini 3.8 Flash?
Codestral 2508 is cheaper: $0.300 per million input tokens and $0.900 per million output tokens, versus $0.750 / $3.75 for Gemini 3.8 Flash.
Which has more context: Codestral 2508 and Gemini 3.8 Flash?
Gemini 3.8 Flash accepts 1 M tokens of context; Codestral 2508 accepts 256 K.
Which is newer: Codestral 2508 and Gemini 3.8 Flash?
Gemini 3.8 Flash was released on 09/02/2026; Codestral 2508 on 07/30/2025.
What would 10,000 requests a month cost with Codestral 2508 and Gemini 3.8 Flash?
With 1,500 input and 400 output tokens per request: Codestral 2508: $8.10; Gemini 3.8 Flash: $26.25 a month, at list price.
Where do the prices come from and how often are they updated?
From the public catalogs of OpenRouter, models.dev and LiteLLM, which publish each provider's list prices. They sync once a day and the last update date is shown above the comparison.
What does price per million tokens mean?
It is what the provider charges per million tokens you send (input) or the model generates (output). A token is roughly 4 characters. Output almost always costs more than input.
Sources: OpenRouter, models.dev and LiteLLM. Prices in USD per million tokens, list price, no volume discounts. Prompt tokens are an estimate; each provider's tokenizer may differ.