Compare Claude Opus 4.8 from Anthropic, GLM 5.2 from Z.ai, and Gemini 3.1 Pro Preview from Google on key metrics including benchmarks, price, context length, and other model features. Access all 3 models and hundreds of others through the OpenRouter API.
Claude Opus 4.8, GLM 5.2, and Gemini 3.1 Pro Preview are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Claude Opus 4.8, from Anthropic, has a 1,000,000-token context window and is priced at $5/M tokens input, $25/M tokens output on OpenRouter.
GLM 5.2, from Z.ai, has a 1,048,576-token context window and is priced at $0.152/M tokens input, $12/M tokens output on OpenRouter.
Gemini 3.1 Pro Preview, from Google, has a 1,048,576-token context window and is priced at $2/M tokens input, $12/M tokens output on OpenRouter.