Compare to

Discover how Google's Gemini 1.5 Pro and Google's Gemma 2 9B stack up against each other in this comprehensive comparison of two leading AI language models.

Released in February 2024 and June 2024 respectively, these models represent significant advancements in artificial intelligence, with Gemini 1.5 Pro offering a 1,000,000-token context window and Gemma 2 9B featuring a 8,192-token capacity. Their distinct approaches to natural language processing are reflected in their benchmark performances, with Gemini 1.5 Pro achieving 81.9% on MMLU and Gemma 2 9B scoring 71.3%, making this comparison essential for developers and organizations seeking the right AI solution for their specific needs.

Models Overview

Google Gemini 1.5 Pro
Google Gemma 2 9B

Provider

Company that developed the model
Google Google

Context Length

Maximum number of tokens the model can process
1M undefined

Maximum Output

Maximum number of tokens the model can generate in a single response
8192 Unknown

Release Date

Date when the model was released
15-02-2024 27-06-2024

Knowledge Cutoff

Training data cutoff date
November 2023 Unknown

Open Source

Whether the model's code is open-source
FALSE TRUE

API Providers

API providers that offer access to the model
Vertex AI Hugging Face, Vertex AI

Pricing Comparison

Compare the pricing of Google's Gemini 1.5 Pro and Google's Gemma 2 9B to determine the most cost-effective solution for your AI needs.

Google Gemini 1.5 Pro
Google Gemma 2 9B

Input Cost

Cost per million input tokens
$7 / 1M tokens Pricing not available

Output Cost

Cost per million tokens generated
$21 / 1M tokens Pricing not available

Comparing Benchmarks and Performance

Compare the performances of Google's Gemini 1.5 Pro and Google's Gemma 2 9B on industry benchmarks. This section provides a detailed comparison on MMLU, MMMU, HumanEval, MATH and other key benchmarks.

Google Gemini 1.5 Pro
Google Gemma 2 9B

MMLU

Evaluating LLM knowledge acquisition in zero-shot and few-shot settings.
81.9% 71.3%

MMMU

A wide ranging multi-discipline and multimodal benchmark.
58.5% Benchmark not available

HellaSwag

A challenging sentence completion benchmark.
93.3% 81.9%

GSM8K

Grade-school math problems benchmark.
90.8% 68.6%

HumanEval

A benchmark to measure functional correctness for synthesizing programs from docstrings.
84.1% 40.2%

MATH

Benchmark performance on Math problems ranging across 5 levels of difficulty and 7 sub-disciplines.
67.7% 36.6%

Compare More Models