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

Gemma 4 31B vs GPT-5.4 Mini

google/gemma-4-31b · openai/gpt-5.4-mini

As of October 31, 2026, Gemma 4 31B is the cheaper API on UberLLM: $0.0010 per million input tokens and $0.0029 per million output, versus $0.0848 / $0.5085 for GPT-5.4 Mini, about 99% 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 4 31B to cut cost; choose GPT-5.4 Mini when context size wins. GPT-5.4 Mini carries the larger context window (400,000 vs 256,000 tokens), which can matter for long-document work.

Gemma 4 31B vs GPT-5.4 Mini, side by side

SpecGemma 4 31BGPT-5.4 Mini
Price · input / 1M$0.0010$0.0848
Price · output / 1M$0.0029$0.5085
Context length256,000400,000
Max output tokens131,072128,000
Input modalitiestext, imagetext, image
Output modalitiestexttext
Tools / functionsYesYes
Vision (image input)YesYes
Reasoning—Yes
% off list99% off89% 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 4 31B vs GPT-5.4 Mini — FAQ

Is Gemma 4 31B or GPT-5.4 Mini cheaper?

Gemma 4 31B is cheaper on a blended token mix, by about 99%. 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 GPT-5.4 Mini?

Gemma 4 31B: $0.0010 in / $0.0029 out per 1M tokens. GPT-5.4 Mini: $0.0848 in / $0.5085 out per 1M tokens. That's roughly a 99% blended difference. Prices are live; UberLLM adds no fee.

Can I use both Gemma 4 31B and GPT-5.4 Mini 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