Claude Sonnet 5 vs GPT-OSS 20B

anthropic/claude-sonnet-5 · openai/gpt-oss-20b

As of October 25, 2026, GPT-OSS 20B is the cheaper API on UberLLM: $0.0004 per million input tokens and $0.0018 per million output, versus $0.1600 / $0.8000 for Claude Sonnet 5 — about 100% 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 GPT-OSS 20B to cut cost; choose Claude Sonnet 5 when context size wins — Claude Sonnet 5 carries the larger context window (1,000,000 vs 131,072 tokens), which can matter for long-document work.

Claude Sonnet 5 vs GPT-OSS 20B, side by side

SpecClaude Sonnet 5GPT-OSS 20B
Price · input / 1M$0.1600$0.0004
Price · output / 1M$0.8000$0.0018
Context length1,000,000131,072
Max output tokens64,00032,768
Input modalitiestexttext
Output modalitiestexttext
Tools / functionsYesYes
ReasoningYes—
Cheapest sellerUberLLMUberLLM
% off list92% off98% 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 GPT-OSS 20B — FAQ

Is Claude Sonnet 5 or GPT-OSS 20B cheaper?

GPT-OSS 20B is cheaper on a blended token mix, by about 100%. 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 GPT-OSS 20B?

Claude Sonnet 5: $0.1600 in / $0.8000 out per 1M tokens. GPT-OSS 20B: $0.0004 in / $0.0018 out per 1M tokens. That's roughly a 100% blended difference. Prices are live; UberLLM adds no fee.

Can I use both Claude Sonnet 5 and GPT-OSS 20B 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