Google: Gemini 3.7 Flash vs Z.ai: GLM 5.2

Google: Gemini 3.7 Flash is 1.3× cheaper for input tokens: Google: Gemini 3.7 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.7 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.7 Flash accepts audio, file, image, text, video; Z.ai: GLM 5.2 accepts text.

Google: Gemini 3.7 FlashZ.ai: GLM 5.2
Model idgoogle/gemini-3.7-flashz-ai/glm-5.2
Input$0.75 per M$0.966 per M
Output$3.75 per M$3.036 per M
Context length1,048,576 tokens1,048,576 tokens
Acceptsaudio, file, image, text, videotext
Producestexttext
Served bygooglezai

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.