SpaceXAI: Grok 4.20 vs Z.ai: GLM Latest
They cost about the same for input tokens: SpaceXAI: Grok 4.20 $1.25 per M, Z.ai: GLM Latest $1.15 per M. SpaceXAI: Grok 4.20 is 1.4× cheaper for output tokens: SpaceXAI: Grok 4.20 costs $2.50 per M and Z.ai: GLM Latest costs $3.50 per M. SpaceXAI: Grok 4.20 reads more: SpaceXAI: Grok 4.20 takes up to 2,000,000 tokens of context and Z.ai: GLM Latest up to 1,310,720. SpaceXAI: Grok 4.20 accepts file, image, text; Z.ai: GLM Latest accepts text.
| SpaceXAI: Grok 4.20 | Z.ai: GLM Latest | |
|---|---|---|
| Model id | x-ai/grok-4.20 | z-ai/glm-latest |
| Input | $1.25 per M | $1.15 per M |
| Output | $2.50 per M | $3.50 per M |
| Context length | 2,000,000 tokens | 1,310,720 tokens |
| Accepts | file, image, text | text |
| Produces | text | text |
| Served by | xai | 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.