Price Per TokenPrice Per Token
Google
Google
vs
Mistral AI
Mistral AI

Gemma 3n 4B vs Mistral Small 3.1 24B

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Gemma 3n 4B wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Better at math

Mistral Small 3.1 24B wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Supports vision
Price Advantage
Gemma 3n 4B
Benchmark Advantage
Mistral Small 3.1 24B
Context Window
Mistral Small 3.1 24B
Speed
Mistral Small 3.1 24B

Pricing Comparison

Price Comparison

MetricGemma 3n 4BMistral Small 3.1 24BWinner
Input (per 1M tokens)$0.02$0.03 Gemma 3n 4B
Output (per 1M tokens)$0.04$0.11 Gemma 3n 4B
Cache Read (per 1M)N/A$15000.00 Mistral Small 3.1 24B
Using a 3:1 input/output ratio, Gemma 3n 4B is 50% cheaper overall.

Gemma 3n 4B Providers

Together $0.02 (Cheapest)

Mistral Small 3.1 24B Providers

Chutes $0.03 (Cheapest)
Cloudflare $0.35

Benchmark Comparison

7
Benchmarks Compared
2
Gemma 3n 4B Wins
5
Mistral Small 3.1 24B Wins

Benchmark Scores

BenchmarkGemma 3n 4BMistral Small 3.1 24BWinner
Intelligence Index
Overall intelligence score
6.314.0
Coding Index
Code generation & understanding
4.213.9
Math Index
Mathematical reasoning
14.33.7
MMLU Pro
Academic knowledge
48.865.9
GPQA
Graduate-level science
29.645.4
LiveCodeBench
Competitive programming
14.621.2
AIME
Competition math
13.79.3
Mistral Small 3.1 24B significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Gemma 3n 4B
Other models

Context & Performance

Context Window

Gemma 3n 4B
32,768
tokens
Mistral Small 3.1 24B
131,072
tokens
Max output: 131,072 tokens
Mistral Small 3.1 24B has a 75% larger context window.

Speed Performance

MetricGemma 3n 4BMistral Small 3.1 24BWinner
Tokens/second38.4 tok/s104.2 tok/s
Time to First Token0.37s0.29s
Mistral Small 3.1 24B responds 171% faster on average.

Capabilities

Feature Comparison

FeatureGemma 3n 4BMistral Small 3.1 24B
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGemma 3n 4BMistral Small 3.1 24B
LicenseOpen SourceOpen Source
AuthorGoogleMistral AI
ReleasedMay 2025Mar 2025

Gemma 3n 4B Modalities

Input
text
Output
text

Mistral Small 3.1 24B Modalities

Input
textimage
Output
text

Related Comparisons

Compare Gemma 3n 4B with:

Compare Mistral Small 3.1 24B with:

Frequently Asked Questions

Gemma 3n 4B has cheaper input pricing at $0.02/M tokens. Gemma 3n 4B has cheaper output pricing at $0.04/M tokens.
Mistral Small 3.1 24B scores higher on coding benchmarks with a score of 13.9, compared to Gemma 3n 4B's score of 4.2.
Gemma 3n 4B has a 32,768 token context window, while Mistral Small 3.1 24B has a 131,072 token context window.
Gemma 3n 4B does not support vision. Mistral Small 3.1 24B supports vision.