AI model comparison

Qwen3.8 2.4T A95B vs Claude Sonnet 5

Pricing, context window, benchmarks, and features compared side by side. Or skip the guesswork and send one prompt to both.

Qwen3.8 2.4T A95B is an open-weight sparse mixture-of-experts model from Qwen and the open-weight variant of [Qwen3.8 Max](/qwen/qwen3.8-max), with 95 billion active parameters out of 2.4 trillion total.

Input / 1M
$2
Output / 1M
$6
Context
1.05M

Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work.

Input / 1M
$2
Output / 1M
$10
Context
1M

At a glance

Quick verdict

How the two models stack up on the things people ask about most.

Lower price

qwen logo

Qwen3.8 2.4T A95B

1.3x cheaper for a typical chat

Higher intelligence score

qwen logo

Qwen3.8 2.4T A95B

39.9 vs 38.2 on Artificial Analysis

Larger context window

qwen logo

Qwen3.8 2.4T A95B

1.05M vs 1M tokens

Newer release

qwen logo

Qwen3.8 2.4T A95B

Released August 12, 2026

Benchmarks

Benchmark scores

Independent scores from Artificial Analysis. Higher is better.

Intelligence index

qwen logoQwen3.8 2.4T A95B39.9
anthropic logoClaude Sonnet 538.2

Coding index

qwen logoQwen3.8 2.4T A95B71.9
anthropic logoClaude Sonnet 571.5

Agentic index

qwen logoQwen3.8 2.4T A95B50.1
anthropic logoClaude Sonnet 543.6

Pricing

Qwen3.8 2.4T A95B vs Claude Sonnet 5 API pricing

Per-token API rates. Cheaper option highlighted.

Metricqwen logoQwen3.8 2.4T A95Banthropic logoClaude Sonnet 5
Input tokensPer 1M tokens$2$2
Output tokensPer 1M tokens$6$10
Cached input (read)Per 1M tokens$0.25$0.20
Cache writePer 1M tokensNot available$2.50
Web searchPer requestNot available$0.01

What it costs in practice

Estimated cost per 1,000 requests at standard rates. Coding and long-document figures also show the cost when the input is already cached.

Chat message

2K in, 500 out

qwen logoQwen3.8 2.4T A95B$7
anthropic logoClaude Sonnet 5$9

Coding task

30K in, 4K out

qwen logoQwen3.8 2.4T A95B$84$31.50 cached
anthropic logoClaude Sonnet 5$100$46 cached

Long document summary

150K in, 2K out

qwen logoQwen3.8 2.4T A95B$312$49.50 cached
anthropic logoClaude Sonnet 5$320$50 cached

Specs

Context window and capabilities

How much each model can read, how much it can write, and what it accepts as input.

Metricqwen logoQwen3.8 2.4T A95Banthropic logoClaude Sonnet 5
Context window1.05M tokens1M tokens
Max output131K tokens128K tokens
Input typesTextFile, Image, Text
Output typesTextText
Reasoning effort levelsExtra high, Medium, LowMax, Extra high, High, Medium, Low
Default reasoning effortExtra highHigh
Release dateAugust 12, 2026June 30, 2026

Features

Supported features

API features available for each model.

Metricqwen logoQwen3.8 2.4T A95Banthropic logoClaude Sonnet 5
Tool callingSupportedSupported
Structured outputsSupportedSupported
JSON modeSupportedSupported
ReasoningSupportedSupported
TemperatureSupportedNot supported
Stop sequencesSupportedSupported
Deterministic seedSupportedNot supported
Verbosity controlNot supportedSupported

Our take

Qwen3.8 2.4T A95B is 1.3x cheaper for a typical chat. Qwen3.8 2.4T A95B scores higher on the Artificial Analysis Intelligence Index (39.9 vs 38.2). Qwen3.8 2.4T A95B has the larger context window (1.05M vs 1M tokens). The right pick depends on your workload, so the quickest way to settle it is to send the same prompt to both and compare.

FAQ

Frequently asked questions

Is Qwen3.8 2.4T A95B or Claude Sonnet 5 cheaper?

Qwen3.8 2.4T A95B is cheaper for a typical chat (2K input tokens and 500 output tokens). Qwen3.8 2.4T A95B costs $2 per 1M input tokens and $6 per 1M output tokens, while Claude Sonnet 5 costs $2 per 1M input tokens and $10 per 1M output tokens.

Which has a bigger context window, Qwen3.8 2.4T A95B or Claude Sonnet 5?

Qwen3.8 2.4T A95B supports up to 1.05M tokens of context, compared with 1M for Claude Sonnet 5.

Is Qwen3.8 2.4T A95B smarter than Claude Sonnet 5?

On the Artificial Analysis Intelligence Index, Qwen3.8 2.4T A95B scores 39.9 and Claude Sonnet 5 scores 38.2, putting Qwen3.8 2.4T A95B ahead. Benchmarks don't capture everything, so the best test is running your own prompts through both.

Can I use Qwen3.8 2.4T A95B and Claude Sonnet 5 at the same time?

Yes. Shortcut Chat sends one prompt to multiple models at once, so you can see Qwen3.8 2.4T A95B and Claude Sonnet 5 answer side by side and keep the better response.

qwen logoanthropic logo

Why choose? Ask both.

Send one prompt to Qwen3.8 2.4T A95B and Claude Sonnet 5 at the same time. Compare the answers side by side and keep the best one.