Grok 4.7 vs GLM-5.2
x-ai/grok-4.7 · z-ai/glm-5.2
As of October 26, 2026, Grok 4.7 is the cheaper API on UberLLM: $0.0400 per million input tokens and $0.1200 per million output, versus $0.0020 / $0.2640 for GLM-5.2 — about 50% less on a blended 3:1 token mix. Both are reached through one OpenAI-compatible key and routed to the cheapest healthy seller, with no UberLLM fee added, so the price you see is the price you pay. Choose Grok 4.7 to cut cost; choose GLM-5.2 when context size wins — GLM-5.2 carries the larger context window (1,048,576 vs 500,000 tokens), which can matter for long-document work.
Grok 4.7 vs GLM-5.2, side by side
| Spec | Grok 4.7 | GLM-5.2 |
|---|---|---|
| Price · input / 1M | $0.0400 | $0.0020 |
| Price · output / 1M | $0.1200 | $0.2640 |
| Context length | 500,000 | 1,048,576 |
| Max output tokens | 450,000 | 32,768 |
| Input modalities | text, image, file | text |
| Output modalities | text | text |
| Tools / functions | Yes | Yes |
| Vision (image input) | Yes | — |
| Reasoning | Yes | Yes |
| Cheapest seller | pyro | UberLLM |
| % off list | 98% off | 94% off |
Live prices via UberLLM, routed to the cheapest healthy seller. The price shown has no UberLLM fee added. Updated October 26, 2026.
Grok 4.7 vs GLM-5.2 — FAQ
Is Grok 4.7 or GLM-5.2 cheaper?
Grok 4.7 is cheaper on a blended token mix, by about 50%. UberLLM routes every request to the cheapest healthy seller and bills the price shown, with no fee added.
What's the price difference between Grok 4.7 and GLM-5.2?
Grok 4.7: $0.0400 in / $0.1200 out per 1M tokens. GLM-5.2: $0.0020 in / $0.2640 out per 1M tokens. That's roughly a 50% blended difference. Prices are live; UberLLM adds no fee.
Can I use both Grok 4.7 and GLM-5.2 with one API?
Yes. Both are served through a single OpenAI-compatible endpoint — set the base URL to https://api.uberllm.dev/v1 and your UberLLM key, then switch between them by changing the model id. Anthropic SDKs work via https://api.uberllm.dev/v1/messages.