Gemma 4 31B vs GLM 4.5 Air
google/gemma-4-31b · z-ai/glm-4.5-air
As of November 3, 2026, GLM 4.5 Air is the cheaper API on UberLLM: $0.0001 per million input tokens and $0.0008 per million output, versus $0.0009 / $0.0027 for Gemma 4 31B, about 71% less when output is 3 tokens for every input token. These are the best prices on the market right now. Both work with one OpenAI-compatible key and UberLLM adds no fee. Choose GLM 4.5 Air to cut cost; choose Gemma 4 31B when context size wins. Gemma 4 31B carries the larger context window (256,000 vs 128,000 tokens), which can matter for long-document work.
Gemma 4 31B vs GLM 4.5 Air, side by side
| Spec | Gemma 4 31B | GLM 4.5 Air |
|---|---|---|
| Price · input / 1M | $0.0009 | $0.0001 |
| Price · output / 1M | $0.0027 | $0.0008 |
| Context length | 256,000 | 128,000 |
| Max output tokens | 131,072 | 32,768 |
| Input modalities | text, image | text |
| Output modalities | text | text |
| Tools / functions | Yes | Yes |
| Vision (image input) | Yes | — |
| Reasoning | — | Yes |
| % off list | 99.2% off | 99.9% off |
Best prices on UberLLM right now. No UberLLM fee on requests; adding credit by card costs 5.5% + $0.50. Updated November 3, 2026. A price more than 70% below list is what buyers were billed, not an error. Why so cheap?
Gemma 4 31B vs GLM 4.5 Air — FAQ
Is Gemma 4 31B or GLM 4.5 Air cheaper?
GLM 4.5 Air is cheaper on a blended token mix, by about 71%. A request costs what its provider charged, UberLLM adds no fee, and every request is listed with its cost in Activity.
What's the price difference between Gemma 4 31B and GLM 4.5 Air?
Gemma 4 31B: $0.0009 in / $0.0027 out per 1M tokens. GLM 4.5 Air: $0.0001 in / $0.0008 out per 1M tokens. That's roughly a 71% blended difference. Prices are live; UberLLM adds no fee.
Can I use both Gemma 4 31B and GLM 4.5 Air 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.