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-09-23.
| Google: Gemma 4 31B | Z.ai: GLM 5V Turbo | |
|---|---|---|
| Vendor | z-ai | |
| Quality Score | 100 | 100 |
| Benchmark Score | 53.7 | 36.7 |
| Input Price | $0.09/M | $1.20/M |
| Output Price | $0.34/M | $4.00/M |
| Context Window | 262,144 | 202,752 |
| Max Output | 16,384 | 131,072 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 31.3 | 38.8 |
| eqbench | 70.8 | - |
Who wins by task?
| Task | Google: Gemma 4 31B | Z.ai: GLM 5V Turbo |
|---|---|---|
| SQL Generation | 139 | 134 |
| Code Review | 140 | 131 |
| Code Completion | 131 | 115 |
| Code Refactoring | 141 | 130 |
| Bug Fixing | 144 | 135 |
| Unit Test Generation | 130 | 124 |
| Code Documentation | 134 | 126 |
| Regex Writing | 125 | 122 |
| CI/CD Pipelines | 126 | 120 |
| Frontend Component Design | 128 | 126 |
| Data Analysis | 132 | 129 |
| CSV / Spreadsheet Cleanup | 133 | 127 |
| ETL Scripting | 133 | 125 |
| JSON Extraction | 131 | 123 |
| Bulk Data Labeling | 129 | 120 |
| OCR / Document Parsing | 131 | 129 |
| Table Extraction from PDFs | 131 | 129 |
| Long-Document Summarization | 143 | 131 |
| Short-Form Summarization | 126 | 116 |
| Blog Post Writing | 127 | 122 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
Anthropic: Claude Haiku Latest vs Google: Gemma 4 31B
Anthropic: Claude Haiku Latest vs Z.ai: GLM 5V Turbo
Anthropic: Claude Sonnet 5 vs Google: Gemma 4 31B
Anthropic: Claude Sonnet 5 vs Z.ai: GLM 5V Turbo
Anthropic: Claude Sonnet Latest vs Google: Gemma 4 31B
Anthropic: Claude Sonnet Latest vs Z.ai: GLM 5V Turbo
Google: Gemini 3.1 Flash Lite vs Google: Gemma 4 31B
Google: Gemini 3.1 Flash Lite vs Z.ai: GLM 5V Turbo