Skip to content

Gemma 2 27B vs Llama 4 Maverick

Gemma 2 27B is cheaper on output tokens, while Llama 4 Maverick offers a larger context window. Choose Gemma 2 27B or Llama 4 Maverick based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGemma 2 27BLlama 4 Maverick
ProviderGoogleMeta
Input / 1M tokens$0.65$0.19
Output / 1M tokens$0.65$0.65
Context window8K1M
Parameters—400B
Open weights—Yes
Released—Apr 2025
Epoch Capabilities Index score122132
Aider Polyglot score—15.6

FAQ

Is Gemma 2 27B or Llama 4 Maverick cheaper?

Gemma 2 27B is cheaper on output tokens ($0.65 vs $0.65 per 1M).

Which has the larger context window, Gemma 2 27B or Llama 4 Maverick?

Llama 4 Maverick has the larger context window (1M tokens).

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.