Claude Sonnet 5 vs Gemini 3.5 Flash

anthropic/claude-sonnet-5 · google/gemini-3.5-flash

As of October 25, 2026, Claude Sonnet 5 is the cheaper API on UberLLM: $0.1500 per million input tokens and $0.7500 per million output, versus $0.3375 / $2.02 for Gemini 3.5 Flash — about 63% less on a blended 3:1 token mix. Both are reached through one OpenAI-compatible key and routed to the cheapest healthy seller, with no UberLLM fee added, so the price you see is the price you pay. Choose Claude Sonnet 5 to cut cost; choose Gemini 3.5 Flash when context size wins — Gemini 3.5 Flash 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.5 Flash, side by side

SpecClaude Sonnet 5Gemini 3.5 Flash
Price · input / 1M$0.1500$0.3375
Price · output / 1M$0.7500$2.02
Context length1,000,0001,048,576
Max output tokens64,00065,536
Input modalitiestexttext
Output modalitiestexttext
Tools / functionsYesYes
ReasoningYes—
Cheapest sellerUberLLMUberLLM
% off list93% off78% off

Live prices via UberLLM, routed to the cheapest healthy seller. The price shown has no UberLLM fee added. Updated October 25, 2026.

Claude Sonnet 5 vs Gemini 3.5 Flash — FAQ

Is Claude Sonnet 5 or Gemini 3.5 Flash cheaper?

Claude Sonnet 5 is cheaper on a blended token mix, by about 63%. UberLLM routes every request to the cheapest healthy seller and bills the price shown, with no fee added.

What's the price difference between Claude Sonnet 5 and Gemini 3.5 Flash?

Claude Sonnet 5: $0.1500 in / $0.7500 out per 1M tokens. Gemini 3.5 Flash: $0.3375 in / $2.02 out per 1M tokens. That's roughly a 63% blended difference. Prices are live; UberLLM adds no fee.

Can I use both Claude Sonnet 5 and Gemini 3.5 Flash 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