Price Per TokenPrice Per Token
Google
Google
vs
Nousresearch
Nousresearch

Gemma 3 4B vs DeepHermes 3 Mistral 24B Preview

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 3 4B wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window
  • Faster response time
  • Better at coding
  • Better at math
  • Supports vision
  • Supports tool calls

DeepHermes 3 Mistral 24B Preview wins:

  • Higher intelligence benchmark
Price Advantage
Gemma 3 4B
Benchmark Advantage
Gemma 3 4B
Context Window
Gemma 3 4B
Speed
Gemma 3 4B

Pricing Comparison

Price Comparison

MetricGemma 3 4BDeepHermes 3 Mistral 24B PreviewWinner
Input (per 1M tokens)$0.02$0.02 Gemma 3 4B
Output (per 1M tokens)$0.07$0.10 Gemma 3 4B
Cache Read (per 1M)N/A$10000.00 DeepHermes 3 Mistral 24B Preview
Using a 3:1 input/output ratio, Gemma 3 4B is 26% cheaper overall.

Gemma 3 4B Providers

Chutes $0.02 (Cheapest)
DeepInfra $0.04

DeepHermes 3 Mistral 24B Preview Providers

Chutes $0.02 (Cheapest)

Benchmark Comparison

7
Benchmarks Compared
1
Gemma 3 4B Wins
4
DeepHermes 3 Mistral 24B Preview Wins

Benchmark Scores

BenchmarkGemma 3 4BDeepHermes 3 Mistral 24B PreviewWinner
Intelligence Index
Overall intelligence score
6.310.9
Coding Index
Code generation & understanding
2.9--
Math Index
Mathematical reasoning
12.7--
MMLU Pro
Academic knowledge
41.758.0
GPQA
Graduate-level science
29.138.2
LiveCodeBench
Competitive programming
11.219.5
AIME
Competition math
6.34.7
Gemma 3 4B shows stronger mathematical reasoning abilities.

Cost vs Quality

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

Context & Performance

Context Window

Gemma 3 4B
96,000
tokens
DeepHermes 3 Mistral 24B Preview
32,768
tokens
Max output: 32,768 tokens
Gemma 3 4B has a 66% larger context window.

Speed Performance

MetricGemma 3 4BDeepHermes 3 Mistral 24B PreviewWinner
Tokens/second34.9 tok/s0.0 tok/s
Time to First Token0.96s0.00s
Gemma 3 4B responds Infinity% faster on average.

Capabilities

Feature Comparison

FeatureGemma 3 4BDeepHermes 3 Mistral 24B Preview
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGemma 3 4BDeepHermes 3 Mistral 24B Preview
LicenseOpen SourceOpen Source
AuthorGoogleNousresearch
ReleasedMar 2025May 2025

Gemma 3 4B Modalities

Input
textimage
Output
text

DeepHermes 3 Mistral 24B Preview Modalities

Input
text
Output
text

Related Comparisons

Compare Gemma 3 4B with:

Compare DeepHermes 3 Mistral 24B Preview with:

Frequently Asked Questions

Gemma 3 4B has cheaper input pricing at $0.02/M tokens. Gemma 3 4B has cheaper output pricing at $0.07/M tokens.
Gemma 3 4B scores higher on coding benchmarks with a score of 2.9, compared to DeepHermes 3 Mistral 24B Preview's score of N/A.
Gemma 3 4B has a 96,000 token context window, while DeepHermes 3 Mistral 24B Preview has a 32,768 token context window.
Gemma 3 4B supports vision. DeepHermes 3 Mistral 24B Preview does not support vision.