Skip to content
llmmodels

internlm2-base-20b vs Phi 4

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

Specinternlm2-base-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-base-20b

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

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

Are internlm2-base-20b and Phi 4 open source?

internlm2-base-20b is open-weight; Phi 4 is open-weight.