AI Models · Paid vs Paid

Gemini 3.1 Pro Preview Paid vs Codestral 2508 Paid

Gemini 3.1 Pro Preview vs Codestral 2508 compared — price per token, context window, multimodality, openness and which to choose. Full 2026 breakdown.

Prices & specs refreshed from live data · olud.ai

Open-model prices = cheapest provider via OpenRouter; official maker rates may be higher.

Gemini 3.1 Pro PreviewPaidGoogle
$2 /M input
$12 /M outputManaged API (no infra to run)
TypeProprietary
Context window1M tokens
MultimodalYes
Self-hostNo
Codestral 2508PaidMistral AI
$0.3 /M input
$0.9 /M outputManaged API (no infra to run)
TypeProprietary
Context window256K tokens
MultimodalNo
Self-hostNo
Choose Codestral 2508 for the lower output price ($0.9/M vs $12/M). Choose Gemini 3.1 Pro Preview if you need the larger 1M context window.

Gemini 3.1 Pro Preview vs Codestral 2508 specs

SpecGemini 3.1 Pro PreviewCodestral 2508Winner
MakerGoogleMistral AI
TypeProprietaryProprietary
Context window1M tokens256K tokensGemini 3.1 Pro Preview
Input price$2/M$0.3/MCodestral 2508
Output price$12/M$0.9/MCodestral 2508
Vision / multimodalYesNoGemini 3.1 Pro Preview
Tool / function callingYesYes= Tie
Self-hostableNo (API only)No (API only)
LicenseProprietaryProprietary

Price gap & when to choose each

13×cheaper per output token

Codestral 2508 is ~13× cheaper than Gemini 3.1 Pro Preview on output tokens ($0.9 vs $12 per M tokens).

Choose Gemini 3.1 Pro Preview if…
  • You want frontier performance through a managed API
  • You need the longer 1M context window
  • You value reliability & ecosystem
  • You don't want to manage infrastructure
Choose Codestral 2508 if…
  • You want frontier performance through a managed API
  • You want the lower output price
  • You value reliability & ecosystem
  • You don't want to manage infrastructure

Feature comparison

CapabilityGemini 3.1 Pro PreviewCodestral 2508
Open weights (downloadable)
Self-hostable
Runs fully offline
Vision / multimodal
Tool / function calling
1M+ context window

Benchmarks: Gemini 3.1 Pro Preview vs Codestral 2508

Independent benchmark scores measured by Artificial Analysis. Higher is better (except latency).

Gemini 3.1 Pro Preview
Codestral 2508
Intelligence index
30.4
Coding index
68.8
GPQA
94.1%
Humanity's Last Exam
47%
Long Context Reasoning
82%
SciCode
58.7%
IFBench
77.1%
τ²-Bench
95.6%
τ-Bench Banking
21.4%
Terminal-Bench
73.8%
Terminal-Bench Hard
53.8%
Speed
125.2 tok/s
Latency
24.48s
Intelligence per $
6.8

Benchmark data by Artificial Analysis.

How Gemini 3.1 Pro Preview and Codestral 2508 score

🤝 Neck and neck on these criteria (3.2 vs 3.0 / 5).
CriterionGemini 3.1 Pro PreviewCodestral 2508
Cost-efficiency3.55.0
Context window5.04.0
Openness1.51.5
Self-hosting1.01.0
Multimodality5.03.5

Scores come from live data — output price (cost), context length, open vs closed weights (openness & self-hosting) and vision/tool support (multimodality). Raw task quality isn't scored here; it depends on your benchmark — see the verdict.

What each model is

Gemini 3.1 Pro Preview Paid

Google · Proprietary

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation.

Codestral 2508 Paid

Mistral AI · Proprietary

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. [Blog Post](https://mistral.ai/ne

Other models in these families

These variants are tracked but not compared here — one page per family keeps the comparison readable.

Other variants tracked
Gemini 3.1 Pro Preview (batch)Gemini 2.5 ProGemini 2.5 Pro (batch)Gemini 2.5 Pro Preview 05-06Gemini 3.1 Pro Preview Custom ToolsNano Banana Pro (Gemini 3 Pro Image Preview)

Frequently asked questions

Gemini 3.1 Pro Preview vs Codestral 2508 — which is cheaper?

Codestral 2508 is cheaper on output ($0.9/M vs $12/M).

Which has the larger context window?

Gemini 3.1 Pro Preview offers the larger context window (1M tokens).

Gemini 3.1 Pro Preview vs Codestral 2508 — which should I pick in 2026?

Choose Codestral 2508 for the lower output price ($0.9/M vs $12/M). Choose Gemini 3.1 Pro Preview if you need the larger 1M context window.

People also compare

Explore more open-source AI

Browse the full open-source model leaderboard, thousands of tools and live benchmarks — all in one place.

Open the leaderboard →