Home / Compare / Gemma 4 31B IT vs GLM 4.7 Gemma 4 31B IT vs GLM 4.7 Close to a tie overall. Gemma 4 31B IT costs 66% less for the same work.
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 GLM 4.7
by Z.ai · #34 of 67 overall
Strong · 66.3Coming soon · price at launch
Context 198K
Input / 1M $0.40
Output / 1M $1.75 Better overall
About even
Grade 66.5 vs 66.3
Cheaper
Gemma 4 31B IT
66% less, $0.25 vs $0.74 blended
Larger context
Gemma 4 31B IT
256K vs 198K 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 GLM 4.7 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
GLM 4.7 $150 /month
Gemma 4 31B IT saves you $94.00 a month at this usage, $1,128 a year.
At a glance Attribute Gemma 4 31B IT GLM 4.7 Made by Google Z.ai Availability Coming soon Coming soon Overall grade Strong · 66.5 Strong · 66.3 Overall rank #33 of 67 #34 of 67 Input price $0.20 per 1M $0.40 per 1M Output price $0.40 per 1M $1.75 per 1M Context window 262,144 tokens 202,752 tokens Reasoning levels No No Reads images Yes No Model ID gemma-4-31b-it glm-4.7
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": "glm-4.7", "messages": [...]}' Questions Is Gemma 4 31B IT or GLM 4.7 better? They grade within two points of each other (66.5 and 66.3), so pick on price and the benchmarks that match your work.
Which is cheaper, Gemma 4 31B IT or GLM 4.7? Gemma 4 31B IT: $0.20 in and $0.40 out per million tokens, against $0.40 and $1.75 through FullsendAI.
Which has the larger context window? Gemma 4 31B IT, with 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.