Code Llama-7B vs Phi-1
Code Llama-7B is made by Meta and Phi-1 by Microsoft. See the full spec comparison below.
| Spec | Code Llama-7B | Phi-1 |
|---|---|---|
| Provider | Meta | Microsoft |
| Released | Aug 14, 2023 | Oct 2, 2023 (better) |
| Type | Code model | Code model |
| Parameters | 6.7B | 1.4B |
| 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 | — | — |
| MMLU | — | 37.6% |
| HellaSwag | — | 47.6% |
About Code Llama-7B
Code Llama-7B is an open-weight code model from Meta, released Aug 14, 2023. It has 6.7B parameters. Full Code Llama-7B specs →
About Phi-1
Phi-1 is an open-weight code model from Microsoft, released Oct 2, 2023. It has 1.4B parameters. Full Phi-1 specs →
Compare other models
FAQ
Which is better, Code Llama-7B or Phi-1?
Code Llama-7B is made by Meta and Phi-1 by Microsoft. See the full spec comparison below.
Are Code Llama-7B and Phi-1 open source?
Code Llama-7B is open-weight; Phi-1 is open-weight.