head-to-head

Z.ai: GLM 5V Turbo vs Google: Gemini 3.1 Pro Preview Custom Tools

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

Z.ai: GLM 5V Turbo Google: Gemini 3.1 Pro Preview Custom Tools
Vendorz-aigoogle
Quality Score100100
Benchmark Score56.8-
Input Price$1.20/M$2.00/M
Output Price$4.00/M$12.00/M
Context Window202,7521,048,576
Max Output131,07265,536
Tool Calling✓✓
Structured Output✓✓
Reasoning Mode✓✓
Vision✓✓
Audio-✓
Benchmark Scores
ai_index56.9-

The verdict

For a sample job of 1 million input tokens and 250,000 output tokens, GLM 5V Turbo costs $2.20 and Gemini 3.1 Pro Preview Custom Tools costs $5.00, so GLM 5V Turbo is about 2.3 times cheaper for the same work.

Gemini 3.1 Pro Preview Custom Tools reads up to 1,048,576 tokens at once, roughly 1,573 pages of text, against about 304 pages for GLM 5V Turbo.

Only Gemini 3.1 Pro Preview Custom Tools offers audio input.

Across the 20 tasks where they differ, GLM 5V Turbo scores higher on 13 (SQL Generation, Code Review, Bug Fixing and others), Gemini 3.1 Pro Preview Custom Tools on 7 (Code Completion, Code Refactoring, Code Documentation and others).

GLM 5V Turbo was released in April 2026 and Gemini 3.1 Pro Preview Custom Tools in February 2026.

Pick GLM 5V Turbo if you need lower cost; pick Gemini 3.1 Pro Preview Custom Tools if you need long documents or audio input.

Costs use current list prices per million tokens; page counts assume about 0.75 words per token and 500 words per page.

Who wins by task?

TaskZ.ai: GLM 5V TurboGoogle: Gemini 3.1 Pro Preview Custom Tools
SQL Generation 136 132
Code Review 134 132
Code Completion 116 117
Code Refactoring 133 136
Bug Fixing 138 136
Unit Test Generation 126 124
Code Documentation 128 129
Regex Writing 124 117
CI/CD Pipelines 122 120
Frontend Component Design 128 122
Data Analysis 132 124
CSV / Spreadsheet Cleanup 127 132
ETL Scripting 128 128
JSON Extraction 123 121
Bulk Data Labeling 120 117
OCR / Document Parsing 129 131
Table Extraction from PDFs 129 131
Long-Document Summarization 134 136
Short-Form Summarization 117 113
Blog Post Writing 124 120

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

Related comparisons

Anthropic: Claude Haiku Latest vs Google: Gemini 3.1 Pro Preview Custom Tools Anthropic: Claude Haiku Latest vs Z.ai: GLM 5V Turbo Anthropic: Claude Sonnet 5 vs Z.ai: GLM 5V Turbo Anthropic: Claude Sonnet Latest vs Google: Gemini 3.1 Pro Preview Custom Tools Anthropic: Claude Sonnet Latest vs Z.ai: GLM 5V Turbo ByteDance Seed: Seed-2.0-Lite vs Google: Gemini 3.1 Pro Preview Custom Tools ByteDance Seed: Seed-2.0-Mini vs Google: Gemini 3.1 Pro Preview Custom Tools Google: Gemini 3.1 Flash Lite Preview vs Google: Gemini 3.1 Pro Preview Custom Tools

The Model Movers Report

One email every Friday, built from this site's own rankings: the current top five by benchmark score, every model released in the last seven days, and one note worked out from that week's numbers. You can unsubscribe from any issue with one click.