Code Llama-13B vs Phi-2
Code Llama-13B is made by Meta and Phi-2 by Microsoft. See the full spec comparison below.
| Spec | Code Llama-13B | Phi-2 |
|---|---|---|
| Provider | Meta | Microsoft |
| Released | Aug 14, 2023 | Dec 12, 2023 (better) |
| Type | Code model | Code model |
| Parameters | 13B | 2.8B |
| Context window | — | — |
| Max output | — | — |
| Input price / 1M | — | — |
| Output price / 1M | — | — |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | llama2 | mit |
| Reasoning mode | No | No |
| Tool calling | No | No |
| API providers | — | — |
| Epoch Capabilities Index | — | 96.2 |
| MMLU | — | 58.4% |
| HellaSwag | — | 53.6% |
About Code Llama-13B
Code Llama-13B is an open-weight code model from Meta, released Aug 14, 2023. It has 13B parameters. Full Code Llama-13B specs →
About Phi-2
Phi-2 is an open-weight code model from Microsoft, released Dec 12, 2023. It has 2.8B parameters. It scores 96.2 on the Epoch Capabilities Index. Full Phi-2 specs →
Compare other models
FAQ
Which is better, Code Llama-13B or Phi-2?
Code Llama-13B is made by Meta and Phi-2 by Microsoft. See the full spec comparison below.
Are Code Llama-13B and Phi-2 open source?
Code Llama-13B is open-weight; Phi-2 is open-weight.