Compare to
Overview
Llama 3.1 8B Instruct was released 5 months after Gemini 1.5 Pro.
Llama 3.1 8B Instruct
Gemini 1.5 Pro
Provider
The entity that provides this model.
Meta
Google
Input Context Window
The number of tokens supported by the input context window.
128K
tokens
1M
tokens
Maximum Output Tokens
The number of tokens that can be generated by the model in a single request.
2,048
tokens
8,192
tokens
Release Date
When the model was first released.
2024-07-23
2024-02-15
Knowledge Cutoff
Limit on the knowledge base used by the model.
December 2023
November 2023
Open Source
API Providers
The providers that offer this model. (This is not an exhaustive list.)
Pricing
Llama 3.1 8B Instruct
Gemini 1.5 Pro
Input
Cost of input data provided to the model.
Pricing not available.
$7.00
per million tokens
Output
Cost of output tokens generated by the model.
Pricing not available.
$21.00
per million tokens
Benchmarks
Compare relevant benchmarks between Llama 3.1 8B Instruct and Gemini 1.5 Pro.
Llama 3.1 8B Instruct
Gemini 1.5 Pro
MMLU
Evaluating LLM knowledge acquisition in zero-shot and few-shot settings.
66.7
(5-shot)
81.9
(5-shot)
MMMU
A wide ranging multi-discipline and multimodal benchmark.
Benchmark not available.
58.5
(0-shot)
HellaSwag
A challenging sentence completion benchmark.
Benchmark not available.
93.3
(10-shot)
GSM8K
Grade-school math problems benchmark.
84.5
(8-shot)
90.8
(11-shot)
HumanEval
A benchmark to measure functional correctness for synthesizing programs from docstrings.
Benchmark not available.
84.1
(0-shot)
MATH
Benchmark performance on Math problems ranging across 5 levels of difficulty and 7 sub-disciplines.
51.9
(0-shot)
67.7
(4-shot Minerva Prompt)
Measure & Improve LLM Product Performance.
Get Started