Skip to content
llmmodels

Llama-3.1-8B-Instruct vs Mistral-7B-Instruct-v0.3

Llama-3.1-8B-Instruct wins 3 of 4 benchmarks both models report. Llama-3.1-8B-Instruct has the larger context window (128K vs 64K).

SpecLlama-3.1-8B-InstructMistral-7B-Instruct-v0.3
ProviderMetaMistral AI
ReleasedJul 23, 2024 (better)May 22, 2024
TypeChat LLMChat LLM
Parameters8B7B
Context window128K (better)64K
Max output16K64K (better)
Input price / 1M$0.02—
Output price / 1M$0.04—
Input modalitiestexttext
Open weightsYesYes
Licensellama3.1—
Reasoning modeNoNo
Tool callingYesYes
API providers19 (better)1
Epoch Capabilities Index110.9—
GPQA Diamond27.0% (better)15.2%
OTIS Mock AIME1.7% (better)0.3%
MATH Level 522.9% (better)3.6%
MMLU56.1%59.9% (better)
GSM8K82.4%—

About Llama-3.1-8B-Instruct

Llama-3.1-8B-Instruct is an open-weight chat llm from Meta, released Jul 23, 2024. It has 8B parameters and a 128K-token context window. API pricing starts at $0.02 per million input tokens and $0.04 per million output tokens. It is available from 19 API providers. It scores 110.9 on the Epoch Capabilities Index. Full Llama-3.1-8B-Instruct specs →

About Mistral-7B-Instruct-v0.3

Mistral-7B-Instruct-v0.3 is an open-weight chat llm from Mistral AI, released May 22, 2024. It has 7B parameters and a 64K-token context window. Full Mistral-7B-Instruct-v0.3 specs →

Compare other models

FAQ

Which is better, Llama-3.1-8B-Instruct or Mistral-7B-Instruct-v0.3?

Llama-3.1-8B-Instruct wins 3 of 4 benchmarks both models report. Llama-3.1-8B-Instruct has the larger context window (128K vs 64K).

Which has a bigger context window?

Llama-3.1-8B-Instruct: 131,072 tokens. Mistral-7B-Instruct-v0.3: 65,536 tokens.

Are Llama-3.1-8B-Instruct and Mistral-7B-Instruct-v0.3 open source?

Llama-3.1-8B-Instruct is open-weight; Mistral-7B-Instruct-v0.3 is open-weight.