Compare ERNIE 4.5 21B A3B Thinking from baidu and GLM 4.6V 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.
ERNIE 4.5 21B A3B Thinking and GLM 4.6V are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
ERNIE 4.5 21B A3B Thinking, from baidu, has a 131,072-token context window and is priced by the provider serving it on OpenRouter.
GLM 4.6V, from Z.ai, has a 131,072-token context window and is priced at $0.30/M tokens input, $0.90/M tokens output on OpenRouter.
| ERNIE 4.5 21B A3B Thinking | GLM 4.6V | |
|---|---|---|
| Input price | Pricing varies by provider | $0.30/M tokens |
| Output price | Pricing varies by provider | $0.90/M tokens |
| Context window | 131,072 tokens | 131,072 tokens |
| Intelligence Index | Not available | 11.2 |
| Coding Index | Not available | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | Not available | 2.06 s |
| Throughput (p50) | Not available | 28.0 tok/s |
ERNIE 4.5 21B A3B Thinking and GLM 4.6V have the same context window of 131,072 tokens.