Llama-3.1-8B-Instruct vs Phi-3-medium-4k-instruct
Llama-3.1-8B-Instruct is made by Meta and Phi-3-medium-4k-instruct by Microsoft. See the full spec comparison below.
| Spec | Llama-3.1-8B-Instruct | Phi-3-medium-4k-instruct |
|---|---|---|
| Provider | Meta | Microsoft |
| Released | Jul 23, 2024 (better) | May 7, 2024 |
| Type | Chat LLM | Chat LLM |
| Parameters | 8B | 14B |
| Context window | 128K | — |
| Max output | 16K | — |
| Input price / 1M | $0.02 | — |
| Output price / 1M | $0.04 | — |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | llama3.1 | mit |
| Reasoning mode | No | No |
| Tool calling | Yes | No |
| API providers | 19 (better) | — |
| Epoch Capabilities Index | 110.9 | — |
| GPQA Diamond | 27.0% | — |
| OTIS Mock AIME | 1.7% | — |
| MATH Level 5 | 22.9% | — |
| MMLU | 56.1% | — |
| GSM8K | 82.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-medium-4k-instruct
Phi-3-medium-4k-instruct is an open-weight chat llm from Microsoft, released May 7, 2024. It has 14B parameters. Full Phi-3-medium-4k-instruct specs →
Compare other models
FAQ
Which is better, Llama-3.1-8B-Instruct or Phi-3-medium-4k-instruct?
Llama-3.1-8B-Instruct is made by Meta and Phi-3-medium-4k-instruct by Microsoft. See the full spec comparison below.
Are Llama-3.1-8B-Instruct and Phi-3-medium-4k-instruct open source?
Llama-3.1-8B-Instruct is open-weight; Phi-3-medium-4k-instruct is open-weight.