GLM 5.2 and Sonar Reasoning Pro are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
GLM 5.2, from Z.ai, has a 1,048,576-token context window and is priced at $0.4186/M tokens input, $1.316/M tokens output on OpenRouter.
Sonar Reasoning Pro, from Perplexity, has a 128,000-token context window and is priced at $2/M tokens input, $8/M tokens output on OpenRouter.