NewPoint any agent at UberLLM — one key, every model, list price or less.

Gemma 4 31B IT vs GLM-5.2

google/gemma-4-31b-it · z-ai/glm-5.2

As of October 24, 2026, GLM-5.2 is the cheaper API on UberLLM: $0.0006 per million input tokens and $0.0024 per million output, versus $0.0013 / $0.0040 for Gemma 4 31B IT — about 41% less on a blended 3:1 token mix. Both are reached through one OpenAI-compatible key and routed to the cheapest healthy seller, with UberLLM's 10% fee already included, so the price you see is the price you pay. Choose GLM-5.2 to cut cost; choose Gemma 4 31B IT when its capabilities fit your task better.

Gemma 4 31B IT vs GLM-5.2, side by side

SpecGemma 4 31B ITGLM-5.2
Price · input / 1M$0.0013$0.0006
Price · output / 1M$0.0040$0.0024
Context length262,1441,048,576
Max output tokens131,07232,768
Input modalitiesimage, texttext
Output modalitiestexttext
Tools / functionsYesYes
Vision (image input)Yes—
Reasoning—Yes
Cheapest sellerUberLLM716
% off list99% off99.6% off

Live prices via UberLLM, routed to the cheapest healthy seller. The price shown includes UberLLM’s 10% fee. Updated October 24, 2026.

Gemma 4 31B IT vs GLM-5.2 — FAQ

Is Gemma 4 31B IT or GLM-5.2 cheaper?

GLM-5.2 is cheaper on a blended token mix, by about 41%. UberLLM routes every request to the cheapest healthy seller and bills the price shown, with its 10% fee included.

What's the price difference between Gemma 4 31B IT and GLM-5.2?

Gemma 4 31B IT: $0.0013 in / $0.0040 out per 1M tokens. GLM-5.2: $0.0006 in / $0.0024 out per 1M tokens. That's roughly a 41% blended difference. Prices are live and include UberLLM's 10% fee.

Can I use both Gemma 4 31B IT 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.

More comparisons