Price Per TokenPrice Per Token
Google
Google
vs
Qwen
Qwen

Gemma 2 9B vs Qwen2.5 Coder 7B Instruct

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 2 9B wins:

  • Higher intelligence benchmark

Qwen2.5 Coder 7B Instruct wins:

  • Larger context window
  • Faster response time
  • Supports tool calls
Price Advantage
Gemma 2 9B
Benchmark Advantage
Gemma 2 9B
Context Window
Qwen2.5 Coder 7B Instruct
Speed
Qwen2.5 Coder 7B Instruct

Pricing Comparison

Price Comparison

MetricGemma 2 9BQwen2.5 Coder 7B InstructWinner
Input (per 1M tokens)$0.03$0.03Tie
Output (per 1M tokens)$0.09$0.09Tie
Both models have similar overall pricing.

Gemma 2 9B Providers

Nebius $0.03 (Cheapest)
Novita $0.08

Qwen2.5 Coder 7B Instruct Providers

Nebius $0.03 (Cheapest)

Benchmark Comparison

6
Benchmarks Compared
1
Gemma 2 9B Wins
2
Qwen2.5 Coder 7B Instruct Wins

Benchmark Scores

BenchmarkGemma 2 9BQwen2.5 Coder 7B InstructWinner
Intelligence Index
Overall intelligence score
32.110.0
MMLU Pro
Academic knowledge
31.947.3
GPQA
Graduate-level science
14.833.9
LiveCodeBench
Competitive programming
-12.6-
AIME
Competition math
-5.3-
BBH
Big-Bench Hard
42.1--
Qwen2.5 Coder 7B Instruct wins 2 out of 6 benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Gemma 2 9B
Other models

Context & Performance

Context Window

Gemma 2 9B
8,192
tokens
Qwen2.5 Coder 7B Instruct
32,768
tokens
Qwen2.5 Coder 7B Instruct has a 75% larger context window.

Speed Performance

MetricGemma 2 9BQwen2.5 Coder 7B InstructWinner
Tokens/secondN/A0.0 tok/s
Time to First TokenN/A0.00s

Capabilities

Feature Comparison

FeatureGemma 2 9BQwen2.5 Coder 7B Instruct
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGemma 2 9BQwen2.5 Coder 7B Instruct
LicenseOpen SourceOpen Source
AuthorGoogleQwen
ReleasedJun 2024Apr 2025

Gemma 2 9B Modalities

Input
text
Output
text

Qwen2.5 Coder 7B Instruct Modalities

Input
text
Output
text

Related Comparisons

Compare Gemma 2 9B with:

Compare Qwen2.5 Coder 7B Instruct with:

Frequently Asked Questions

Gemma 2 9B has cheaper input pricing at $0.03/M tokens. Gemma 2 9B has cheaper output pricing at $0.09/M tokens.
Gemma 2 9B scores higher on coding benchmarks with a score of N/A, compared to Qwen2.5 Coder 7B Instruct's score of N/A.
Gemma 2 9B has a 8,192 token context window, while Qwen2.5 Coder 7B Instruct has a 32,768 token context window.
Gemma 2 9B does not support vision. Qwen2.5 Coder 7B Instruct does not support vision.