LLM Comparison

Phi 4 vs ERNIE 4.5 21B A3B Thinking

Side-by-side specs, pricing & capabilities · Updated April 2026

Add to comparison

2/6 models
Same tier:
 
P
Phi 4
E
ERNIE 4.5 21B A3B Thinking
OrganizationMicrosoftBaidu
OpenTools Score
FamilyPhiERNIE
StatusCurrentCurrent
Release DateJan 2025Oct 2025
Context Window16K tokens131K tokens
Input Price$0.07/M tokens$0.07/M tokens
Output Price$0.14/M tokens$0.28/M tokens
Capabilities
textcode
textcodeextended-thinking
Max Output16K tokens66K tokens
API Identifiermicrosoft/phi-4baidu/ernie-4.5-21b-a3b-thinking
 View Phi 4View ERNIE 4.5 21B A3B Thinking

Cost Calculator

Enter your expected monthly token usage to compare costs.

ModelInputOutputTotal / movs Best
Phi 4Cheapest$0.07$0.07$0.14
ERNIE 4.5 21B A3B Thinking$0.07$0.14$0.21+56%

Looking for more AI models?

Browse All LLMs