Home / Compare / Gemma 4 31B IT vs Qwen3.5 397B A17B Gemma 4 31B IT vs Qwen3.5 397B A17B Close to a tie overall. Gemma 4 31B IT costs 77% less for the same work, and both read a 256K-token context.
Model AClaude Fable 5 Claude Haiku 4.5 Claude Opus 4.7 Claude Opus 4.8 Claude Opus 5 Claude Opus 5.5 Claude Sonnet 4.6 Claude Sonnet 5 Claude Sonnet 5.5 DeepSeek R1 0528 DeepSeek V3 DeepSeek V3.1 DeepSeek V3.2 DeepSeek V4 Flash DeepSeek V4 Flash 0731 DeepSeek V4 Pro 0813 DeepSeek V4.1 Flash Gemini 2.5 Flash Gemini 2.5 Pro Gemini 3.1 Flash Lite Gemini 3.1 Pro Gemini 3.5 Flash Gemini 3.7 Flash Gemma 3 12B IT Gemma 3 27B IT Gemma 3 4B IT Gemma 4 26B A4B IT Gemma 4 31B IT GLM 4.6 GLM 4.7 GLM 5.2 GLM 5.3 GLM 5.3 Flash GPT OSS 120B GPT OSS 20B Granite 4.2 8B Hy4 Preview Inkling Small Kimi K2.6 Kimi K3 Ling 3.1 Flash Llama 3.3 70B Instruct Turbo Llama 4 Scout 17B 16E Instruct Meta Llama 3.1 70B Instruct Turbo Meta Llama 3.1 8B Instruct Turbo MiMo V2.6 Flash MiMo V2.6 Pro MiniMax M3 Mistral Small 24B Instruct 2501 Mistral Small 3.2 24B Instruct 2506 Muse Glimmer 30B NVIDIA Nemotron 3 Super 120B A12B NVIDIA Nemotron 3 Ultra 550B A55B NVIDIA Nemotron 3.5 Lightning Phi 4 Qwen2.5 72B Instruct Qwen3 235B A22B Instruct 2507 Qwen3 30B A3B Qwen3 32B Qwen3 Coder 480B A35B Instruct Turbo Qwen3 Next 80B A3B Instruct Qwen3 VL 235B A22B Instruct Qwen3.5 27B Qwen3.5 35B A3B Qwen3.5 397B A17B Qwen3.5 9B Qwen3.6 27B Qwen3.6 35B A3B Qwen3.7 Max Qwen3.8 27B Qwen3.8 Flash Qwen3.8 Max Seed 2.0 Pro Step 5 Preview Gemma 4 31B IT
by Google · #33 of 67 overall
Strong · 66.5Coming soon · price at launch
Context 256K
Input / 1M $0.20
Output / 1M $0.40 Model BClaude Fable 5 Claude Haiku 4.5 Claude Opus 4.7 Claude Opus 4.8 Claude Opus 5 Claude Opus 5.5 Claude Sonnet 4.6 Claude Sonnet 5 Claude Sonnet 5.5 DeepSeek R1 0528 DeepSeek V3 DeepSeek V3.1 DeepSeek V3.2 DeepSeek V4 Flash DeepSeek V4 Flash 0731 DeepSeek V4 Pro 0813 DeepSeek V4.1 Flash Gemini 2.5 Flash Gemini 2.5 Pro Gemini 3.1 Flash Lite Gemini 3.1 Pro Gemini 3.5 Flash Gemini 3.7 Flash Gemma 3 12B IT Gemma 3 27B IT Gemma 3 4B IT Gemma 4 26B A4B IT Gemma 4 31B IT GLM 4.6 GLM 4.7 GLM 5.2 GLM 5.3 GLM 5.3 Flash GPT OSS 120B GPT OSS 20B Granite 4.2 8B Hy4 Preview Inkling Small Kimi K2.6 Kimi K3 Ling 3.1 Flash Llama 3.3 70B Instruct Turbo Llama 4 Scout 17B 16E Instruct Meta Llama 3.1 70B Instruct Turbo Meta Llama 3.1 8B Instruct Turbo MiMo V2.6 Flash MiMo V2.6 Pro MiniMax M3 Mistral Small 24B Instruct 2501 Mistral Small 3.2 24B Instruct 2506 Muse Glimmer 30B NVIDIA Nemotron 3 Super 120B A12B NVIDIA Nemotron 3 Ultra 550B A55B NVIDIA Nemotron 3.5 Lightning Phi 4 Qwen2.5 72B Instruct Qwen3 235B A22B Instruct 2507 Qwen3 30B A3B Qwen3 32B Qwen3 Coder 480B A35B Instruct Turbo Qwen3 Next 80B A3B Instruct Qwen3 VL 235B A22B Instruct Qwen3.5 27B Qwen3.5 35B A3B Qwen3.5 397B A17B Qwen3.5 9B Qwen3.6 27B Qwen3.6 35B A3B Qwen3.7 Max Qwen3.8 27B Qwen3.8 Flash Qwen3.8 Max Seed 2.0 Pro Step 5 Preview Qwen3.5 397B A17B
by Qwen · #35 of 67 overall
Strong · 65.4Coming soon · price at launch
Context 256K
Input / 1M $0.45
Output / 1M $3.00 Better overall
About even
Grade 66.5 vs 65.4
Cheaper
Gemma 4 31B IT
77% less, $0.25 vs $1.09 blended
Larger context
Same
256K vs 256K tokens
Head to head Public benchmarks. Longer is better; each value links to its source.
LMArena Text Elo-style rating · LMArena (CC BY 4.0) · Oct 15, 2026 Gemma 4 31B IT Gemma 4 31B IT: —
Gemma 4 31B IT Gemma 4 31B IT: —
LiveCodeBench pass@1, % · LiveCodeBench · Mar 11, 2026 · reference Gemma 4 31B IT Qwen3.5 397B A17B v = reported by the model’s maker. — = no public score yet. Arena bars span the range across every model we grade.
Gemma 4 31B IT $56.00 /month
Qwen3.5 397B A17B $210 /month
Gemma 4 31B IT saves you $154 a month at this usage, $1,848 a year.
At a glance Attribute Gemma 4 31B IT Qwen3.5 397B A17B Made by Google Qwen Availability Coming soon Coming soon Overall grade Strong · 66.5 Strong · 65.4 Overall rank #33 of 67 #35 of 67 Input price $0.20 per 1M $0.45 per 1M Output price $0.40 per 1M $3.00 per 1M Context window 262,144 tokens 262,144 tokens Reasoning levels No Yes Reads images Yes Yes Model ID gemma-4-31b-it qwen3.5-397b-a17b
Try both with one key Same endpoint, same key, both hosted in the USA. Change one word to switch models, in Claude Code, Cursor, Cline or your own code.
Get your API key # Ask either model the same thing
curl https://fullsendai.com/v1/chat/completions \
-H "Authorization: Bearer $FULLSEND_API_KEY " \
-d '{"model": "gemma-4-31b-it", "messages": [...]}'
# …then swap one word
-d '{"model": "qwen3.5-397b-a17b", "messages": [...]}' Questions Is Gemma 4 31B IT or Qwen3.5 397B A17B better? They grade within two points of each other (66.5 and 65.4), so pick on price and the benchmarks that match your work.
Which is cheaper, Gemma 4 31B IT or Qwen3.5 397B A17B? Gemma 4 31B IT: $0.20 in and $0.40 out per million tokens, against $0.45 and $3.00 through FullsendAI.
Which has the larger context window? Neither: both take 262,144 tokens.
Can I use both with one API key? Yes, once they launch: both are coming soon, at the prices shown, and both will use the same FullsendAI key.
Scores: LMArena (CC BY 4.0), SWE-bench, Terminal-Bench, LiveCodeBench, and model makers’ published results where marked v. Prices are FullsendAI’s, per million tokens. Data as of Oct 28, 2026.