Compare GLM 5.2 from Z.ai and Gemini 3.5 Flash from Google on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
| Attribute | GLM 5.2 | Gemini 3.5 Flash |
|---|---|---|
| Input price | $0.006/M tokens | $1.50/M tokens |
| Output price | $6.80/M tokens | $9/M tokens |
| Context window | 1,048,576 tokens | 1,048,576 tokens |
| Intelligence Index | Not available | Not available |
| Coding Index | 68.8 | 70.1 |
| Agentic Index | 38.4 | 26.0 |
| Latency (p50) | 0.54 s | 13.44 s |
| Throughput (p50) | 118.0 tok/s | 8.0 tok/s |
| Provided by | Z.ai | |
| Model page | GLM 5.2 model details, providers and pricing | Gemini 3.5 Flash model details, providers and pricing |
Benchmark data updated
GLM 5.2 is cheaper than Gemini 3.5 Flash on OpenRouter: GLM 5.2 costs $0.006/M tokens input and $6.80/M tokens output, while Gemini 3.5 Flash costs $1.50/M tokens input and $9/M tokens output.
GLM 5.2 and Gemini 3.5 Flash have the same context window of 1,048,576 tokens.
GLM 5.2 is faster on OpenRouter, generating a median 118.0 tokens per second compared with 8.0 tokens per second for Gemini 3.5 Flash.
Gemini 3.5 Flash scores higher on coding, with an Artificial Analysis Coding Index of 70.1 compared with 68.8 for GLM 5.2.