Compare ERNIE 4.5 21B A3B from baidu and GLM 4.5 Air from Z.ai on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
| Attribute | ERNIE 4.5 21B A3B | GLM 4.5 Air |
|---|---|---|
| Input price | Pricing varies by provider | $0.13/M tokens |
| Output price | Pricing varies by provider | $0.85/M tokens |
| Context window | 131,072 tokens | 131,072 tokens |
| Intelligence Index | Not available | Not available |
| Coding Index | Not available | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | Not available | 1.12 s |
| Throughput (p50) | Not available | 43.0 tok/s |
| Provided by | baidu | Z.ai |
| Model page | ERNIE 4.5 21B A3B model details, providers and pricing | GLM 4.5 Air model details, providers and pricing |
Benchmark data updated
ERNIE 4.5 21B A3B and GLM 4.5 Air have the same context window of 131,072 tokens.