Model comparison

Gemini 1.5 Flash (May 2024) vs Llama 2-7B

Gemini 1.5 Flash (May 2024) is the stronger model overall, scoring 32.9 to 28.6 on the Noometry Index.

Last verified . 20 shared benchmarks.

Gemini 1.5 Flash (May 2024) Google

32.9

Rank #240 Confirmed

Llama 2-7B Meta

28.6

Rank #315 Confirmed

Summary

  • They share 20 benchmarks with published results for both. Gemini 1.5 Flash (May 2024) scores higher in 6 categories and Llama 2-7B in 2 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Gemini 1.5 Flash (May 2024) leads 48.9 to 28.1.
  • Llama 2-7B has downloadable open weights; the other is API-only.

Side by side

Gemini 1.5 Flash (May 2024) and Llama 2-7B specifications
Gemini 1.5 Flash (May 2024)Llama 2-7B
ProviderGoogleMeta
Noometry Index32.928.6
Released2024-05-142023-07-18
WeightsProprietaryOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked4229

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Gemini 1.5 Flash (May 2024) leads

Gemini 1.5 Flash (May 2024): 33.9 (#233), Llama 2-7B: 28.7 (#302)

Coding benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
LMArena Coding12621002
WeirdML24.9%—
BigCodeBench Instruct43.5%—
BigCodeBench Complete55.1%—
HumanEval+75.6%—
MBPP+67.5%—

Agentic & Tool Use Not comparable

Gemini 1.5 Flash (May 2024): 26.3 (#97), Llama 2-7B: —

Agentic & Tool Use benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
BALROG14.6%—

Reasoning Gemini 1.5 Flash (May 2024) leads

Gemini 1.5 Flash (May 2024): 20.8 (#212), Llama 2-7B: 15.1 (#309)

Reasoning benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
LMArena Hard Prompts12571009
Epoch Capabilities Index129.3798.54
PIQA87.5%78.8%
Chess Puzzles—0%
DTBench53.8%—
BIG-Bench Hard—39.2%
ForecastBench53.9—
HellaSwag—77.2%
LAMBADA—73.3%
WinoGrande—69.2%

Math Llama 2-7B leads

Gemini 1.5 Flash (May 2024): 20.8 (#274), Llama 2-7B: 28.2 (#231)

Math benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
LMArena Math12691042
GSM8K82.4%16.7%
OTIS Mock AIME 2024-202516.3%—
Omni-MATH30.4%—
MATH Level 561.9%—
FrontierMath (Feb 2025 set)0%—

Knowledge Llama 2-7B leads

Gemini 1.5 Flash (May 2024): 26.2 (#253), Llama 2-7B: 27.7 (#243)

Knowledge benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
LMArena Expert12331036
BoolQ85.8%77.9%
MMLU77.9%45.8%
GPQA Diamond47.3%—
MMLU-Pro67.8%—
GPQA (HELM)43.7%—
ARC (AI2) Challenge—45.9%
OpenBookQA—58.6%
TriviaQA—73.7%

Multimodal Not comparable

Gemini 1.5 Flash (May 2024): 35.3 (#76), Llama 2-7B: —

Multimodal benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
LMArena Vision1141—
Video-MME70.3%—
GeoBench76%—
ScienceQA—43.1%

Multilingual Gemini 1.5 Flash (May 2024) leads

Gemini 1.5 Flash (May 2024): 43.1 (#184), Llama 2-7B: 23.9 (#288)

Multilingual benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
LMArena Non-English1278973
LMArena Chinese1295973
LMArena French1257969
LMArena German1262978
LMArena Russian1288995
LMArena Spanish12421007
LMArena Japanese1252—
LMArena Korean1220—

Instruction Following Gemini 1.5 Flash (May 2024) leads

Gemini 1.5 Flash (May 2024): 67.0 (#199), Llama 2-7B: 51.0 (#293)

Instruction Following benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
LMArena Instruction Following12581006
IFEval83.1%—

Long Context Gemini 1.5 Flash (May 2024) leads

Gemini 1.5 Flash (May 2024): 39.0 (#182), Llama 2-7B: 30.4 (#282)

Long Context benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
LMArena Longer Query1284999

Writing & Preference Gemini 1.5 Flash (May 2024) leads

Gemini 1.5 Flash (May 2024): 48.9 (#190), Llama 2-7B: 28.1 (#293)

Writing & Preference benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
LMArena Text12871053
LMArena Creative Writing12851033
LMArena Multi-Turn12531029
WildBench79.2%—

Frequently asked questions

Is Gemini 1.5 Flash (May 2024) better than Llama 2-7B?

Gemini 1.5 Flash (May 2024) is the stronger model overall, scoring 32.9 to 28.6 on the Noometry Index.

Is Gemini 1.5 Flash (May 2024) or Llama 2-7B better for coding?

Gemini 1.5 Flash (May 2024) scores higher on coding benchmarks: 33.9 versus 28.7 in the Noometry coding category.

How many benchmarks do Gemini 1.5 Flash (May 2024) and Llama 2-7B share?

20 benchmarks have published results for both models. Gemini 1.5 Flash (May 2024) has 42 scored results on Noometry and Llama 2-7B has 29.

Related comparisons

Go deeper