Google: Gemini 3.8 Flash vs Z.ai: GLM 5.2
Google: Gemini 3.8 Flash is 1.3× cheaper for input tokens: Google: Gemini 3.8 Flash costs $0.75 per M and Z.ai: GLM 5.2 costs $0.966 per M. Z.ai: GLM 5.2 is 1.2× cheaper for output tokens: Google: Gemini 3.8 Flash costs $3.75 per M and Z.ai: GLM 5.2 costs $3.036 per M. Both read up to 1,048,576 tokens of context. Google: Gemini 3.8 Flash accepts audio, file, image, text, video; Z.ai: GLM 5.2 accepts text.
| Google: Gemini 3.8 Flash | Z.ai: GLM 5.2 | |
|---|---|---|
| Model id | google/gemini-3.8-flash | z-ai/glm-5.2 |
| Input | $0.75 per M | $0.966 per M |
| Output | $3.75 per M | $3.036 per M |
| Context length | 1,048,576 tokens | 1,048,576 tokens |
| Accepts | audio, file, image, text, video | text |
| Produces | text | text |
| Served by | zai |
Prices are the providers' list prices per million tokens, as of . Both run on your own provider key through one OpenAI-compatible endpoint, with no fee on the tokens.