Skip to content

Gemma 4 31B IT vs GLM 4.7

Close to a tie overall. Gemma 4 31B IT costs 66% less for the same work.

Gemma 4 31B IT

by Google · #33 of 67 overall

Coming soon · price at launch
Context
256K
Input / 1M
$0.20
Output / 1M
$0.40

GLM 4.7

by Z.ai · #34 of 67 overall

Coming 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 TextElo-style rating · LMArena (CC BY 4.0) · Oct 15, 2026
LMArena WebDevElo-style rating · LMArena (CC BY 4.0) · Oct 13, 2026
LMArena CodingElo-style rating · LMArena (CC BY 4.0) · Oct 15, 2026
SWE-bench Verified% of issues resolved · SWE-bench · Dec 22, 2025 · reference
Gemma 4 31B ITGemma 4 31B IT: —
Terminal-Bench 2.0% of tasks passed · Terminal-Bench · Dec 22, 2025 · reference
Gemma 4 31B ITGemma 4 31B IT: —
LiveCodeBenchpass@1, % · LiveCodeBench · Mar 11, 2026 · reference

Gemma 4 31B ITGLM 4.7v = reported by the model’s maker. — = no public score yet. Arena bars span the range across every model we grade.

What it costs you

Drag to match your monthly usage.

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

AttributeGemma 4 31B ITGLM 4.7
Made byGoogleZ.ai
AvailabilityComing soonComing soon
Overall gradeStrong · 66.5Strong · 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 window262,144 tokens202,752 tokens
Reasoning levelsNoNo
Reads imagesYesNo
Model IDgemma-4-31b-itglm-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.

Model rankingsAll benchmarksCompare other models

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.