Models

Claude Opus 4.8 vs gpt-oss-20b

Compare Claude Opus 4.8 from Anthropic and gpt-oss-20b from OpenAI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the AIHubMix API.

AnthropicClaude Opus 4.8OpenAIgpt-oss-20b
Anthropic logo
Claude Opus 4.8
Anthropic · text, image, pdf → text

Claude Opus 4.8 is Anthropic’s newest and most powerful publicly available model. It is suitable for the most complex tasks. It is Anthropic’s strongest model for complex reasoning, long-horizon agent programming, and highly autonomous work.claude-opus-4-8 does not display thought content by default; you need to set the additional parameter "display": "summarized" to enable it

Input$5 /M
Output$25 /M
Cache read$0.5 /M
OpenAI logo
gpt-oss-20b
OpenAI · text → text

gpt-oss-20b is a 21-billion parameter open-weight model released by OpenAI under the Apache 2.0 license. Its core feature is a Mixture-of-Experts (MoE) architecture that uses only 3.6B active parameters, enabling low-latency inference and deployment on consumer GPUs. The model also supports fine-tuning, function calling, tool use, and structured outputs.

Input$0.11 /M
Output$0.55 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

Claude Opus 4.8
gpt-oss-20b
Input /M
$5
$0.11
Output /M
$25
$0.55
Cache read /M
$0.5
-
Context length
1,000,000
128,000
Max output
128,000
32,768
Time to First Token
1.1 s
0.1 s
Throughput
82.6 tok/s
2619.0 tok/s
Modalities
textimagepdf
text
Supported Parameters
thinkingtoolsfunction callingstructured outputs
thinkingfunction callingstructured outputs
API Formats
chat_completions · claude_api
Released
May 28, 2026
August 5, 2025

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

claude-opus-4-8gpt-oss-20b

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

claude-opus-4-8gpt-oss-20b

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

LMArena Benchmarks

LMArena ratings by capability (Bradley-Terry, commonly called Elo). Higher is better.

Text
claude-opus-4-8gpt-oss-20b
1220132014201520
Overall
13171473
Coding
13691527
Math
13351474
Hard prompts
13221503
Instruction following
12811477
Multi-turn
12891495
Creative writing
12401465
Longer query
13021499
Chinese
13521523
English
13311480

Source: LMArena (arena.ai) leaderboard, imported by AIHubMix. Models without published ratings are omitted per chart.

Cost calculator

Estimate your monthly bill for the same workload on each model.

gpt-oss-20b
$14.85 /mo
Claude Opus 4.8
$675 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: Claude Opus 4.8, gpt-oss-20b?

gpt-oss-20b: $0.55/M output tokens; Claude Opus 4.8: $25/M. Use the cost calculator above to estimate your own workload.

How do their coding arena scores compare?

Claude Opus 4.8: 1527; gpt-oss-20b: 1369 (LMArena coding leaderboard).

Which responds faster?

gpt-oss-20b: 0.1s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.

How large is each context window?

Claude Opus 4.8 accepts 1,000,000 and gpt-oss-20b accepts 128,000 input tokens. Maximum output per request is 128,000 tokens on Claude Opus 4.8 and 32,768 tokens on gpt-oss-20b.

Which one generates tokens faster?

gpt-oss-20b at 2619.0 tok/s and Claude Opus 4.8 at 82.6 tok/s, measured as output throughput on AIHubMix — a separate metric from time to first token.

What inputs and capabilities does each model support?

Claude Opus 4.8 accepts text, image and PDF input and supports thinking, tool calling, function calling and structured outputs; gpt-oss-20b accepts text input and supports thinking, function calling and structured outputs.

Can I call Claude Opus 4.8 and gpt-oss-20b with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular comparisons

Related model match-ups readers also look at.