Skip to content

Gemma 4 31B (free) vs Mistral Medium 3.1

vs
Mistral Medium 3.1

Mistral AI

40#322
Signal-by-Signal Comparison
SignalGemma 4 31B (free)DeltaMistral Medium 3.1
Capabilities
83
+17
67
Benchmarks
86
+86
0
Pricing
100
+2
98
Context window size
86
+5
81
Recency
100
+33
67
Output Capacity
75
+55
20
Overall Result
6 wins
of 6
0 wins
Gemma 4 31B (free) wins 6 of 6 signals

Score History

Score History (25 data points)
Gemma 4 31B (free)Mistral Medium 3.1
Gemma 4 31B (free)

80.5

current score

Leader

Gemma 4 31B (free)

right now

Mistral Medium 3.1

40

current score

LMMarketCap.com
Interactive Price Comparison
100Kcalls/month
1,000tokens (~1,333 chars)
500tokens (~667 chars)

Gemma 4 31B (free)

Google

Best Value
Per request$0.000000
Daily$0.00
Monthly$0.00
Annual$0.00

Mistral Medium 3.1

Mistral AI

Per request$0.001400
Daily$4.67
Monthly$140.00
Annual$1680.00

Gemma 4 31B (free) saves you $140.00/month

That's $1680.00/year compared to Mistral Medium 3.1 at your current usage level of 100K calls/month.

100% cheaper
Choose Gemma 4 31B (free) for cost optimization

Gemma 4 31B (free) pricing:
Input:$0.00/M tokens
Output:$0.00/M tokens
Mistral Medium 3.1 pricing:
Input:$0.40/M tokens
Output:$2.00/M tokens
Winner
Gemma 4 31B (free)

Google

81

Composite Score

Mistral Medium 3.1

Mistral AI

40

Composite Score

Signal-by-Signal Comparison
MetricGemma 4 31B (free)Mistral Medium 3.1Winner
Overall Score
81
40
Gemma 4 31B (free)
Rank#84#322
Gemma 4 31B (free)
Quality Rank#84#322
Gemma 4 31B (free)
Adoption Rank#84#322
Gemma 4 31B (free)
Parameters31B----
Context Window262K131K
Gemma 4 31B (free)
PricingFree$0.40/$2.00/M--
Signal Scores
Capabilities
83
67
Gemma 4 31B (free)
Benchmarks
86
--
Gemma 4 31B (free)
Pricing
100
98
Gemma 4 31B (free)
Context window size
86
81
Gemma 4 31B (free)
Recency
100
67
Gemma 4 31B (free)
Output Capacity
75
20
Gemma 4 31B (free)
Benchmark Head-to-Head(7 benchmarks)
Gemma 4: 1Mistral Medium: 0
Gemma 4
Mistral Medium
Normalized 0-100%
MMLU-Pro
85.2%-
GPQA Diamond
84.3%-
AIME 2024
89.2%-
BBH
74.4%-
Arena Elo
1451-
LiveBench
80%-
HLE
19.5%4.52%
Benchmark Interpretation

Our score (0-100) is driven by benchmark performance (90%) from Arena Elo ratings, MMLU, GPQA, HumanEval, SWE-bench, and 15+ standardized evaluations. Capabilities and context window serve as tiebreakers (10%). Learn more about our methodology.

Gemma 4 31B (free)Strong Performer

Scores 81/100 (rank #84), placing it in the top 71% of all 290 models tracked.

Raw Quality0/100
Cost Efficiency0/100
Speed0/100
Mistral Medium 3.1Entry Level

Scores 40/100 (rank #322), placing it in the top -11% of all 290 models tracked.

Raw Quality0/100
Cost Efficiency0/100
Speed0/100

Gemma 4 31B (free) has a 41-point advantage, which typically translates to noticeably stronger performance on complex reasoning, code generation, and multi-step tasks.

When to Use Each Model

Choose Gemma 4 31B (free) when you need:

  • High-volume production workloads where API costs must be minimized
  • Processing long documents or large codebases (262K token context)
  • Step-by-step reasoning and chain-of-thought problem solving
  • Self-hosted deployments where you need full control over the model

Choose Mistral Medium 3.1 when you need:

  • Budget-friendly applications with moderate quality requirements
Cost-Performance Analysis
Gemma 4 31B (free)
Input cost$0.00/M tokens
Output cost$0.00/M tokens
Cost per quality point$0.000
Est. monthly (1M tokens/day)$0.00
Mistral Medium 3.1
Input cost$0.40/M tokens
Output cost$2.00/M tokens
Cost per quality point$0.060
Est. monthly (1M tokens/day)$36.00

Compare the cost per quality point to find the best value for your specific workload.

Latency & Speed
Gemma 4 31B (free)Faster
Speed score0/100
Mistral Medium 3.1
Speed score0/100

Both models have comparable response speeds. For most applications, the latency difference is negligible.

When latency matters most: Interactive chatbots, IDE code completion, real-time translation, and user-facing applications where response time directly impacts experience. For batch processing, background summarization, or offline analysis, latency is less critical.

Example Use Cases

Code generation & review

Based on overall model capabilities and architecture for coding tasks like generating functions, debugging, and refactoring

Gemma 4 31B (free)

Customer support chatbot

Suitable for user-facing chat with competitive response times. Gemma 4 31B (free) also offers lower per-token costs for high-volume support

Gemma 4 31B (free)

Long document analysis

Larger context window (262K tokens) can process longer documents, contracts, and research papers in a single pass

Gemma 4 31B (free)

Batch data extraction

Lower output pricing ($0.00/M) reduces costs when processing thousands of records daily

Gemma 4 31B (free)

Creative writing & content

Higher overall composite score (81/100) correlates with better nuance, coherence, and style in long-form content

Gemma 4 31B (free)

Image understanding & OCR

Supports vision input - can analyze screenshots, diagrams, photos, and scanned documents directly

Gemma 4 31B (free)
Which Should You Choose?
Our recommendation:
Gemma 4 31B (free)

Gemma 4 31B (free) clearly outperforms Mistral Medium 3.1 with a significant 40.5-point lead. For most general use cases, Gemma 4 31B (free) is the stronger choice. However, Mistral Medium 3.1 may still excel in niche scenarios.

by Google

  • Choose for Quality - Marginally better benchmark scores; both are excellent
  • Choose for Cost - 100% lower pricing; better value at scale
  • Choose for Reliability - Higher uptime and faster response speeds
  • Choose for Prototyping - Stronger community support and better developer experience
  • Choose for Production - Wider enterprise adoption and proven at scale

by Mistral AI

Consider for specialized use cases.

Capability Comparison
CapabilityGemma 4 31B (free)Mistral Medium 3.1
Vision (Image Input)
Function Calling
Streaming
JSON Mode
Reasoningdiffers
Web Search
Image Output
Monthly Cost Calculator
1,000tokens (600 in / 400 out)
100requests/day (3,000/month)

Gemma 4 31B (free)

Google

Best Value
$0.000000
estimated monthly cost

Mistral Medium 3.1

Mistral AI

$3.12
estimated monthly cost

Gemma 4 31B (free) saves you $3.12/month

That's 100% cheaper than Mistral Medium 3.1 at 1,000 tokens/request and 100 requests/day.

Assumes 60% input / 40% output token ratio per request. Actual costs may vary based on your usage pattern.

Parameters & Context
ParameterGemma 4 31B (free)Mistral Medium 3.1
Context Window262K131K
Max Output Tokens32,768--
Open SourceYesNo
CreatedApr 2, 2026Aug 13, 2025
Last updated: 22m ago

Related comparisons

Gemma 4 31B (free) vs Mistral Medium 3.1 (2026) | LM Market Cap