Model comparison

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

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

Last verified . 20 shared benchmarks.

Gemini 1.5 Flash (May 2024) Google

33.2

Rank #246 Confirmed

Llama 2-7B Meta

29.1

Rank #317 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.7 to 28.0.
  • 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 Index33.229.1
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): 34.4 (#236), Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
LMArena Coding12611002
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.6 (#102), 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): 21.7 (#215), Llama 2-7B: 15.7 (#312)

Reasoning benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
LMArena Hard Prompts12571009
Epoch Capabilities Index129.3699.06
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): 22.1 (#281), Llama 2-7B: 30.7 (#233)

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 (#260), Llama 2-7B: 28.2 (#248)

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): 36.0 (#81), 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): 42.9 (#189), Llama 2-7B: 23.8 (#293)

Multilingual benchmarks
BenchmarkGemini 1.5 Flash (May 2024)Llama 2-7B
LMArena Non-English1278973
LMArena Chinese1295973
LMArena French1258970
LMArena German1262978
LMArena Russian1288995
LMArena Spanish12431007
LMArena Japanese1252—
LMArena Korean1221—

Instruction Following Gemini 1.5 Flash (May 2024) leads

Gemini 1.5 Flash (May 2024): 66.8 (#205), Llama 2-7B: 50.8 (#298)

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 (#187), Llama 2-7B: 30.4 (#287)

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.7 (#196), Llama 2-7B: 28.0 (#298)

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 33.2 to 29.1 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: 34.4 versus 29.2 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