Gemini 1.5 Flash is 71% cheaper than Codestral 22B on blended 3:1 token pricing. Codestral 22B costs $0.30/1M in and $0.90/1M out, while Gemini 1.5 Flash costs $0.07/1M in and $0.30/1M out.
Codestral 22B vs Gemini 1.5 Flash
Compare verified input/output token rates, prompt caching discounts, latency tiers, and context limits between Mistral AI and Google.
| Metric / Feature | Codestral 22B (Mistral AI) | Gemini 1.5 Flash (Google) |
|---|---|---|
| Input Price ($ / 1M Tokens) | $0.30 | $0.07 |
| Output Price ($ / 1M Tokens) | $0.90 | $0.30 |
| Prompt Caching Input Rate | Not Available | $0.019/1M |
| Blended 3:1 Rate (Production) | $0.450 / 1M | $0.131 / 1M |
| Max Context Window | 128k | 128k |
| Multimodal Vision | ❌ Text Only | ✅ Supported |
| MMLU Benchmark | 81.1% | 78.9% |
| Throughput & Latency | Ultra-Fast (~80 t/s) | Ultra-Fast (~100 t/s) |
| Best For | Fill-in-the-middle code completion, automated unit tests, IDE integration | High-frequency API calls, audio processing, bulk document summarization |
When to Choose Codestral 22B
Choose Codestral 22B if your workload requires fill-in-the-middle code completion, automated unit tests, ide integration. Ideal for teams needing Mistral AI's infrastructure and ecosystem tooling.
When to Choose Gemini 1.5 Flash
Choose Gemini 1.5 Flash if your primary objective is high-frequency api calls, audio processing, bulk document summarization. Ideal for scaling high-throughput pipelines with Google.
Want to compare Codestral 22B against another model?
Select another target model to view immediate pricing & latency trade-offs.