AI Hub
← All models

ERNIE 4.5 21B A3B vs Grok 4.20 0309

Baidu vs xAI — benchmarks, pricing, and capabilities side by side.

  • ERNIE 4.5 21B A3B is cheaper ($0.07 vs $2.00 per 1M input)
ERNIE 4.5 21B A3BGrok 4.20 0309
Intelligence index88.5
DeveloperBaiduxAI
TypeLLMLLM
AccessOpen weights
Context window131,072 tokens
Input price$0.07 / 1M$2.00 / 1M
Output price$0.28 / 1M$6.00 / 1M
Speed97 tok/s
ReleasedAugust 12, 2025March 10, 2026
Parameters
Input modalitiesText
Output modalitiesText