Aller au contenu
Menu
Français

Llama vs Phi

Open-weight language model family from Meta, released for local and self-hosted use.

Comparaison des critères

Comparaison de Llama et Phi
Critère Llama Phi
Context window 128k tokens 128k tokens
License Llama Community License MIT
Open weights Yes Yes
Parameters 8B, 70B, 405B 3.8B, 14B
Provider Meta Microsoft

Les lignes grisées sont identiques pour les deux ; ce sont les lignes qui diffèrent qui motivent la recommandation ci-dessous.

Lequel choisir ?

Généré à partir des différences ci-dessus par des règles structurées, et non par un modèle.

Choose Llama if…

Aucun des attributs enregistrés ne le distingue à son avantage.

Choose Phi if…

Aucun des attributs enregistrés ne le distingue à son avantage.

Llama

model · Models

Llama is a family of language models whose weights are published, so they can be run on your own hardware instead of only through an API. It solves the problem that most capable models are reachable only as a hosted service, which rules them out when data cannot leave your network or when per-token cost dominates. It exists because releasing weights turned out to build an ecosystem of fine-tunes and tooling around one architecture, and it is the model most local inference tools target first.

Phi

model · Models

Phi is a family of small language models trained on a deliberately narrow, high-quality corpus of textbooks and exercises rather than on a web-scale crawl. It solves the assumption that capability requires scale, showing that data selection can substitute for a large part of it. It exists because it reframes the question from how much data to what kind of data, and the answer is useful when the budget is a single GPU.