head-to-head

Google: Gemma 4 31B (free) 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 (free) Z.ai: GLM 5V Turbo
Vendorgooglez-ai
Quality Score100100
Benchmark Score-56.8
Input PriceFree$1.20/M
Output PriceFree$4.00/M
Context Window262,144202,752
Max Output8,192131,072
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index-56.9

Who wins by task?

TaskGoogle: Gemma 4 31B (free)Z.ai: GLM 5V Turbo
SQL Generation 131 136
Code Review 126 134
Code Completion 129 116
Code Refactoring 127 133
Bug Fixing 130 138
Unit Test Generation 121 126
Code Documentation 126 128
Regex Writing 120 124
CI/CD Pipelines 117 122
Frontend Component Design 122 128
Data Analysis 124 132
CSV / Spreadsheet Cleanup 128 127
ETL Scripting 122 128
JSON Extraction 132 123
Bulk Data Labeling 130 120
OCR / Document Parsing 128 129
Table Extraction from PDFs 128 129
Long-Document Summarization 129 134
Short-Form Summarization 124 117
Blog Post Writing 119 124

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

Related comparisons

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