Claude Opus 5 vs Gemma 4 31B IT
anthropic/claude-opus-5 · google/gemma-4-31b-it
As of November 1, 2026, Gemma 4 31B IT is the cheaper API on UberLLM: $0.0009 per million input tokens and $0.0027 per million output, versus $0.1050 / $0.5250 for Claude Opus 5, about 99% 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 Gemma 4 31B IT to cut cost; choose Claude Opus 5 when context size wins. Claude Opus 5 carries the larger context window (1,000,000 vs 262,144 tokens), which can matter for long-document work.
Claude Opus 5 vs Gemma 4 31B IT, side by side
| Spec | Claude Opus 5 | Gemma 4 31B IT |
|---|---|---|
| Price · input / 1M | $0.1050 | $0.0009 |
| Price · output / 1M | $0.5250 | $0.0027 |
| Context length | 1,000,000 | 262,144 |
| Max output tokens | 128,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 | 97.9% off | 99.2% off |
| First token, median (7 days) | 4.8 s (404 requests) | — |
Best prices on UberLLM right now. No UberLLM fee on requests; adding credit by card costs 5.5% + $0.50. Updated November 1, 2026. A price more than 70% below list is what buyers were billed, not an error. Why so cheap?
Claude Opus 5 vs Gemma 4 31B IT — FAQ
Is Claude Opus 5 or Gemma 4 31B IT cheaper?
Gemma 4 31B IT 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 Claude Opus 5 and Gemma 4 31B IT?
Claude Opus 5: $0.1050 in / $0.5250 out per 1M tokens. Gemma 4 31B IT: $0.0009 in / $0.0027 out per 1M tokens. That's roughly a 99% blended difference. Prices are live; UberLLM adds no fee.
Can I use both Claude Opus 5 and Gemma 4 31B IT 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.