Gemma 2 27B vs Grok 4.7

Price, context window & benchmark comparison

G

Gemma 2 27B

Google
$0.65 / $0.65
Input / Output · per 1M tokens
VS
X

Grok 4.7

xAI
$1.60 / $4.80
Input / Output · per 1M tokens
Compare different models
G
X
Verdict: Gemma 2 27B is 3.7× cheaper than Grok 4.7 on a typical 3:1 input/output mix. Grok 4.7 has the larger context window (500K vs 8K).
Gemma 2 27BGrok 4.7
Input price / 1M$0.65$1.60
Output price / 1M$0.65$4.80
Blended price (3:1)$0.65$2.40
Cached input / 1M$0.40
Context window8K500K
Max output2K450K
Intelligence index46.4
Coding index
Providers4
Best provider uptime (30m)99.9%
Vision inputNoYes
ReasoningNoYes
Tool callingNoYes
Released2024-07-132026-09-21
Retirement

Cost calculator

FAQ

Which is cheaper, Gemma 2 27B or Grok 4.7?

Gemma 2 27B is 3.7× cheaper than Grok 4.7 on a typical 3:1 input/output mix.

Gemma 2 27B vs Grok 4.7: which has a bigger context window?

Gemma 2 27B: 8,192 tokens. Grok 4.7: 500,000 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Gemma 2 27B ≈ $1,625, Grok 4.7 ≈ $5,600.

More comparisons