Skip to content
llmmodels

InternLM2-20B vs Phi 4

InternLM2-20B is made by Shanghai AI Lab (InternLM) and Phi 4 by Microsoft. See the full spec comparison below.

SpecInternLM2-20BPhi 4
ProviderShanghai AI Lab (InternLM)Microsoft
ReleasedJan 12, 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
Licenseothermit
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 InternLM2-20B

InternLM2-20B is an open-weight chat llm from Shanghai AI Lab (InternLM), released Jan 12, 2024. It has 20B parameters. Full InternLM2-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, InternLM2-20B or Phi 4?

InternLM2-20B is made by Shanghai AI Lab (InternLM) and Phi 4 by Microsoft. See the full spec comparison below.

Are InternLM2-20B and Phi 4 open source?

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