head-to-head

Google: Gemma 4 31B vs Z.ai: GLM 5V Turbo

Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-06-23.

Google: Gemma 4 31B Z.ai: GLM 5V Turbo
Vendorgooglez-ai
Quality Score100100
Benchmark Score56.456.8
Input Price$0.12/M$1.20/M
Output Price$0.35/M$4.00/M
Context Window262,144202,752
Max Output262,144131,072
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index48.456.9
ai_index_agentic23.8-
ai_index_coding71.7-
eqbench70.8-

Who wins by task?

TaskGoogle: Gemma 4 31BZ.ai: GLM 5V Turbo
SQL Generation 157 136
Code Review 154 134
Code Completion 132 116
Code Refactoring 152 133
Bug Fixing 161 138
Unit Test Generation 143 126
Code Documentation 138 128
Regex Writing 131 124
CI/CD Pipelines 136 122
Frontend Component Design 138 128
Data Analysis 152 132
CSV / Spreadsheet Cleanup 146 127
ETL Scripting 144 128
JSON Extraction 143 123
Bulk Data Labeling 133 120
OCR / Document Parsing 140 129
Table Extraction from PDFs 140 129
Long-Document Summarization 150 134
Short-Form Summarization 129 117
Blog Post Writing 134 124

Scores reflect capability match + benchmark data + pricing for each task. Methodology →

Related comparisons

MoonshotAI: Kimi K2.7 Code vs Google: Gemma 4 31B MoonshotAI: Kimi K2.7 Code vs Z.ai: GLM 5V Turbo Qwen: Qwen3.7 Plus vs Google: Gemma 4 31B Qwen: Qwen3.7 Plus vs Z.ai: GLM 5V Turbo MiniMax: MiniMax M3 vs Google: Gemma 4 31B MiniMax: MiniMax M3 vs Z.ai: GLM 5V Turbo StepFun: Step 3.7 Flash vs Google: Gemma 4 31B StepFun: Step 3.7 Flash vs Z.ai: GLM 5V Turbo