Gemma 3 4B IT vs GLM 5.1
google/gemma-3-4b-it · z-ai/glm-5.1
As of October 31, 2026, Gemma 3 4B IT is the cheaper API on UberLLM: $0.0005 per million input tokens and $0.0009 per million output, versus $0.0693 / $0.2178 for GLM 5.1, about 100% less when output is 3 tokens for every input token. These are the median prices buyers paid over the last 24 hours. Both work with one OpenAI-compatible key and UberLLM adds no fee. Choose Gemma 3 4B IT to cut cost; choose GLM 5.1 when context size wins. GLM 5.1 carries the larger context window (200,000 vs 128,000 tokens), which can matter for long-document work.
Gemma 3 4B IT vs GLM 5.1, side by side
| Spec | Gemma 3 4B IT | GLM 5.1 |
|---|---|---|
| Price · input / 1M | $0.0005 | $0.0693 |
| Price · output / 1M | $0.0009 | $0.2178 |
| Context length | 128,000 | 200,000 |
| Max output tokens | 8,000 | 24,000 |
| Input modalities | text, image | text |
| Output modalities | text | text |
| Tools / functions | Yes | Yes |
| Vision (image input) | Yes | — |
| Reasoning | — | Yes |
| % off list | 99% off | 95% off |
Median prices buyers paid on UberLLM over the last 24 hours. No UberLLM fee on requests; adding credit by card costs 5.5% + $0.50. Updated October 31, 2026. A price more than 70% below list is what buyers were billed, not an error. Why so cheap?
Gemma 3 4B IT vs GLM 5.1 — FAQ
Is Gemma 3 4B IT or GLM 5.1 cheaper?
Gemma 3 4B IT is cheaper on a blended token mix, by about 100%. 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 3 4B IT and GLM 5.1?
Gemma 3 4B IT: $0.0005 in / $0.0009 out per 1M tokens. GLM 5.1: $0.0693 in / $0.2178 out per 1M tokens. That's roughly a 100% blended difference. Prices are live; UberLLM adds no fee.
Can I use both Gemma 3 4B IT and GLM 5.1 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.