LLM Comparison
ERNIE 4.5 21B A3B Thinking vs Phi 4
Side-by-side specs, pricing & capabilities · Updated April 2026
Add to comparison
2/6 modelsSame tier:
E ERNIE 4.5 21B A3B Thinking | P Phi 4 | |
|---|---|---|
| Organization | Baidu | Microsoft |
| OpenTools Score | ||
| Family | ERNIE | Phi |
| Status | Current | Current |
| Release Date | Oct 2025 | Jan 2025 |
| Context Window | 131K tokens | 16K tokens |
| Input Price | $0.07/M tokens | $0.07/M tokens |
| Output Price | $0.28/M tokens | $0.14/M tokens |
| Capabilities | textcodeextended-thinking | textcode |
| Max Output | 66K tokens | 16K tokens |
| API Identifier | baidu/ernie-4.5-21b-a3b-thinking | microsoft/phi-4 |
| View ERNIE 4.5 21B A3B Thinking | View Phi 4 |
Cost Calculator
Enter your expected monthly token usage to compare costs.
| Model | Input | Output | Total / mo | vs Best |
|---|---|---|---|---|
| Phi 4Cheapest | $0.07 | $0.07 | $0.14 | — |
| ERNIE 4.5 21B A3B Thinking | $0.07 | $0.14 | $0.21 | +56% |
Baidu
ERNIE 4.5 21B A3B Thinking
ERNIE 4.5 21B A3B Thinking is a large language model from Baidu. Supports up to 131,072 token context window. Available from $0.07/M input tokens.
Microsoft
Phi 4
Phi 4 is a large language model from Microsoft. Supports up to 16,384 token context window. Available from $0.07/M input tokens.
More Comparisons
Looking for more AI models?
Browse All LLMs