Claude Haiku 4.5 vs Gemma 4 31B
anthropic/claude-haiku-4.5 · google/gemma-4-31b
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.2200 / $1.10 for Claude Haiku 4.5, 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 4 31B to cut cost; choose Claude Haiku 4.5 when its capabilities fit your task better.
Claude Haiku 4.5 vs Gemma 4 31B, side by side
| Spec | Claude Haiku 4.5 | Gemma 4 31B |
|---|---|---|
| Price · input / 1M | $0.2200 | $0.0010 |
| Price · output / 1M | $1.10 | $0.0029 |
| Context length | 200,000 | 256,000 |
| Max output tokens | 64,000 | 131,072 |
| Input modalities | text, image | text, image |
| Output modalities | text | text |
| Tools / functions | Yes | Yes |
| Vision (image input) | Yes | Yes |
| Reasoning | Yes | — |
| % off list | 78% off | 99% 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?
Claude Haiku 4.5 vs Gemma 4 31B — FAQ
Is Claude Haiku 4.5 or Gemma 4 31B cheaper?
Gemma 4 31B 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 Claude Haiku 4.5 and Gemma 4 31B?
Claude Haiku 4.5: $0.2200 in / $1.10 out per 1M tokens. Gemma 4 31B: $0.0010 in / $0.0029 out per 1M tokens. That's roughly a 100% blended difference. Prices are live; UberLLM adds no fee.
Can I use both Claude Haiku 4.5 and Gemma 4 31B 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.