Compare to
Overview
Llama 3.1 8B Instruct was released about 1 year after GPT-4 0613.
Llama 3.1 8B Instruct
GPT-4 0613
Provider
The entity that provides this model.
Meta
OpenAI
Input Context Window
The number of tokens supported by the input context window.
128K
tokens
8,192
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
2023-06-13
Knowledge Cutoff
Limit on the knowledge base used by the model.
December 2023
September 2021
Open Source
API Providers
The providers that offer this model. (This is not an exhaustive list.)
Pricing
Llama 3.1 8B Instruct
GPT-4 0613
Input
Cost of input data provided to the model.
Pricing not available.
$30.00
per million tokens
Output
Cost of output tokens generated by the model.
Pricing not available.
$60.00
per million tokens
Benchmarks
Compare relevant benchmarks between Llama 3.1 8B Instruct and GPT-4 0613.
Llama 3.1 8B Instruct
GPT-4 0613
MMLU
Evaluating LLM knowledge acquisition in zero-shot and few-shot settings.
66.7
(5-shot)
Benchmark not available.
MMMU
A wide ranging multi-discipline and multimodal benchmark.
Benchmark not available.
Benchmark not available.
HellaSwag
A challenging sentence completion benchmark.
Benchmark not available.
Benchmark not available.
GSM8K
Grade-school math problems benchmark.
84.5
(8-shot)
Benchmark not available.
HumanEval
A benchmark to measure functional correctness for synthesizing programs from docstrings.
Benchmark not available.
Benchmark not available.
MATH
Benchmark performance on Math problems ranging across 5 levels of difficulty and 7 sub-disciplines.
51.9
(0-shot)
Benchmark not available.
Measure & Improve LLM Product Performance.
Get Started