Skip to content
llmmodels

Llama-3.1-8B-Instruct vs Phi-3-small-128k-instruct

Llama-3.1-8B-Instruct is made by Meta and Phi-3-small-128k-instruct by Microsoft. See the full spec comparison below.

SpecLlama-3.1-8B-InstructPhi-3-small-128k-instruct
ProviderMetaMicrosoft
ReleasedJul 23, 2024 (better)May 7, 2024
TypeChat LLMChat LLM
Parameters8B7.4B
Context window128K—
Max output16K—
Input price / 1M$0.02—
Output price / 1M$0.04—
Input modalitiestexttext
Open weightsYesYes
Licensellama3.1mit
Reasoning modeNoNo
Tool callingYesNo
API providers19 (better)—
Epoch Capabilities Index110.9—
GPQA Diamond27.0%—
OTIS Mock AIME1.7%—
MATH Level 522.9%—
MMLU56.1%—
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 Phi-3-small-128k-instruct

Phi-3-small-128k-instruct is an open-weight chat llm from Microsoft, released May 7, 2024. It has 7.4B parameters. Full Phi-3-small-128k-instruct specs →

Compare other models

FAQ

Which is better, Llama-3.1-8B-Instruct or Phi-3-small-128k-instruct?

Llama-3.1-8B-Instruct is made by Meta and Phi-3-small-128k-instruct by Microsoft. See the full spec comparison below.

Are Llama-3.1-8B-Instruct and Phi-3-small-128k-instruct open source?

Llama-3.1-8B-Instruct is open-weight; Phi-3-small-128k-instruct is open-weight.