Model comparison
ERNIE 4.5 21B A3B vs baidu/ERNIE-4.5-300B-A47B
Compare ERNIE 4.5 21B A3B and baidu/ERNIE-4.5-300B-A47B: input/output $/Mtoken, context window, modalities, and license. OpenRouter-synced pricing.
Baidu
ERNIE 4.5 21B A3B
Open-weight instruction model for adaptable chat and self-hosted production workloads
Baidu
baidu/ERNIE-4.5-300B-A47B
Tool-capable chat model for instruction following and agentic application workflows
| Metric | ERNIE 4.5 21B A3B | baidu/ERNIE-4.5-300B-A47B |
|---|---|---|
| Provider | Baidu | Baidu |
| Context window | 120,000 | 131,000 |
| Input $/Mtok | $0.070 | $0.280 |
| Output $/Mtok | $0.280 | $1.10 |
| Modalities | text | text |
| License | open-weights | closed |
Quick take
On input price, ERNIE 4.5 21B A3B is cheaper at $0.070/Mtok. For context window, baidu/ERNIE-4.5-300B-A47B leads with 131,000 tokens.
Pick based on your workload: high-volume cheap inference vs long-document / agent loops. Enterprise DNA can wire either model into Omni with evals, secrets, and job orchestration.