Google: Gemma 4 31B vs Qwen: Qwen3.5-9B

Google: Gemma 4 31B is 1.1× cheaper for input tokens: Google: Gemma 4 31B costs $0.09 per M and Qwen: Qwen3.5-9B costs $0.10 per M. Qwen: Qwen3.5-9B is 2.3× cheaper for output tokens: Google: Gemma 4 31B costs $0.34 per M and Qwen: Qwen3.5-9B costs $0.15 per M. Both read up to 262,144 tokens of context.

Google: Gemma 4 31BQwen: Qwen3.5-9B
Model idgoogle/gemma-4-31b-itqwen/qwen3.5-9b
Input$0.09 per M$0.10 per M
Output$0.34 per M$0.15 per M
Context length262,144 tokens262,144 tokens
Acceptsimage, text, videoimage, text, video
Producestexttext
Served bygooglealibaba

Prices are the providers' list prices per million tokens, as of . Both run on your own provider key through one OpenAI-compatible endpoint, with no fee on the tokens.