Claude Sonnet 5 vs Gemini 3.1 Pro
anthropic/claude-sonnet-5 · google/gemini-3.1-pro
As of November 5, 2026, Claude Sonnet 5 is the cheaper API on UberLLM: $0.0776 per million input tokens and $0.3880 per million output, versus $0.2600 / $1.56 for Gemini 3.1 Pro, about 75% 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 Claude Sonnet 5 to cut cost; choose Gemini 3.1 Pro when context size wins. Gemini 3.1 Pro carries the larger context window (1,048,576 vs 1,000,000 tokens), which can matter for long-document work.
Claude Sonnet 5 vs Gemini 3.1 Pro, side by side
| Spec | Claude Sonnet 5 | Gemini 3.1 Pro |
|---|---|---|
| Price · input / 1M | $0.0776 | $0.2600 |
| Price · output / 1M | $0.3880 | $1.56 |
| Context length | 1,000,000 | 1,048,576 |
| Max output tokens | 64,000 | 65,536 |
| Input modalities | text, image | text, image |
| Output modalities | text | text |
| Tools / functions | Yes | Yes |
| Vision (image input) | Yes | Yes |
| Reasoning | Yes | Yes |
| % off list | 96.1% off | — |
| First token, median (7 days) | 3.2 s (3,417 requests) | — |
Best prices on UberLLM right now. No UberLLM fee on requests; adding credit by card costs 5.5% + $0.50. Updated November 5, 2026. A price more than 70% below list is what buyers were billed, not an error. Why so cheap?
Claude Sonnet 5 vs Gemini 3.1 Pro — FAQ
Is Claude Sonnet 5 or Gemini 3.1 Pro cheaper?
Claude Sonnet 5 is cheaper on a blended token mix, by about 75%. 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 Sonnet 5 and Gemini 3.1 Pro?
Claude Sonnet 5: $0.0776 in / $0.3880 out per 1M tokens. Gemini 3.1 Pro: $0.2600 in / $1.56 out per 1M tokens. That's roughly a 75% blended difference. Prices are live; UberLLM adds no fee.
Can I use both Claude Sonnet 5 and Gemini 3.1 Pro 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.