Compare AI models

Specifications
Parameters
9B/27B7B
Context window
8k32k
API pricing
Cheapest input
$0.65NextBit—
Cheapest output
$0.65NextBit—
$163NextBit · int4—
Benchmarks
HumanEval
51.8%38.4%
MATH
42.3%13.2%
Overview
CompanyGoogleMistral
Release dateJun 27 2024May 22 2024
AccessOpen WeightOpen Weight
Model detailsView modelView model

Frequently asked questions

Gemma 2 leads Mistral 7B v0.3 on 2 of the 2 benchmarks they both report (HumanEval, MATH). Mistral 7B v0.3 shipped 36 days before Gemma 2, so benchmark comparisons should account for the intervening progress.

Gemma 2 has 9B/27B parameters, while Mistral 7B v0.3 has 7B. Context windows are 8k (Gemma 2) vs 32k (Mistral 7B v0.3).

On HumanEval, Gemma 2 leads at 51.8% vs Mistral 7B v0.3 at 38.4%. On MATH, Gemma 2 leads at 42.3% vs Mistral 7B v0.3 at 13.2%.