ERNIE 4.5 21B A3B and Codex Mini 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, from baidu, has a 131,072-token context window and is priced by the provider serving it on OpenRouter.
Codex Mini, from OpenAI, has a 200,000-token context window and is priced by the provider serving it on OpenRouter.