Compare Gemma 4 31B from Google and Qwen3.8 27B from Qwen on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
Gemma 4 31B and Qwen3.8 27B are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Gemma 4 31B, from Google, has a 262,144-token context window and is priced at $0.09/M tokens input, $0.34/M tokens output on OpenRouter.
Qwen3.8 27B, from Qwen, has a 1,000,000-token context window and is priced at $0.15/M tokens input, $2/M tokens output on OpenRouter.