ERNIE 4.5 21B A3B Thinking and GLM 5.1 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 5.1, from Z.ai, has a 204,800-token context window and is priced at $0.896/M tokens input, $2.816/M tokens output on OpenRouter.