Skip to content
llmmodels

Granite 20B vs Phi 4

Granite 20B is made by IBM and Phi 4 by Microsoft. See the full spec comparison below.

SpecGranite 20BPhi 4
ProviderIBMMicrosoft
ReleasedMay 31, 2024Dec 12, 2024 (better)
TypeChat LLMChat LLM
Parameters20B15B
Context window—16K
Max output—15K
Input price / 1M—$0.07
Output price / 1M—$0.14
Input modalitiestexttext
Open weightsYesYes
LicenseOpen (permissive)mit
Reasoning modeNoNo
Tool callingNoNo
API providers—1 (better)
Epoch Capabilities Index—129.2
GPQA Diamond—56.1%
OTIS Mock AIME—13.8%
MATH Level 5—64.9%
LiveBench—41.6%
MMLU—84.8%

About Granite 20B

Granite 20B is an open-weight chat llm from IBM, released May 31, 2024. It has 20B parameters. Full Granite 20B specs →

About Phi 4

Phi 4 is an open-weight chat llm from Microsoft, released Dec 12, 2024. It has 15B parameters and a 16K-token context window. API pricing starts at $0.07 per million input tokens and $0.14 per million output tokens. It scores 129.2 on the Epoch Capabilities Index. Full Phi 4 specs →

Compare other models

FAQ

Which is better, Granite 20B or Phi 4?

Granite 20B is made by IBM and Phi 4 by Microsoft. See the full spec comparison below.

Are Granite 20B and Phi 4 open source?

Granite 20B is open-weight; Phi 4 is open-weight.