DeepSeek vs Qwen: coding benchmarks and cost

DeepSeek V4.1 Flash 1017 leads SciCode at 55.90% versus 50.58%. Qwen3.8-Flash-Next has the lower illustrated request cost at $0.0025; the other model costs $0.0042.

Updated · 6 sources · Methodology

DimensionWinnerMarginEvidence
SciCode (%)DeepSeek V4.1 Flash 10175.32 ppDeepSeek V4.1 Flash 1017 55.90% / Qwen3.8-Flash-Next 50.58%12
Output speed (tokens/s)DeepSeek V4.1 Flash 1017122.9 tokens/sDeepSeek V4.1 Flash 1017 178.3 / Qwen3.8-Flash-Next 55.4 tokens/s
AA time to first answer token (s)DeepSeek V4.1 Flash 101725.76 sDeepSeek V4.1 Flash 1017 12.41 s / Qwen3.8-Flash-Next 38.17 s
Estimated request costQwen3.8-Flash-Next$0.001710K + 1K: DeepSeek V4.1 Flash 1017 $0.0042 / Qwen3.8-Flash-Next $0.002543

AA coding quality benchmarks

MetricDeepSeek V4.1 Flash 1017 (Max)Qwen3.8-Flash-Next
SciCode (%)55.90150.582

Performance

MetricDeepSeek V4.1 Flash 1017 (Max)Qwen3.8-Flash-Next
Output speed (tokens/s)178.355.4
AA time to first answer token (s)12.4138.17

Prices and request cost

MetricDeepSeek V4.1 Flash 1017 · Novita AIQwen3.8-Flash-Next · Lyceum
Input / 1M tokens$0.34$0.23
Output / 1M tokens$1.24$0.53
Context window (tokens)1,048,5764262,1445
Max output (tokens)393,2164131,0726
API documentationNovita AI · Chat API
Cost example: 10,000 input + 1,000 billed output tokens
Qwen3.8-Flash-Next$0.0025

Coding, reasoning, context and cost

Coding benchmark

  • AA SciCode: DeepSeek V4.1 Flash 1017 55.90% / Qwen3.8-Flash-Next 50.58%.12

Reasoning benchmark

  • The configured AA first-answer wait is 12.41 s for DeepSeek V4.1 Flash 1017 and 38.17 s for Qwen3.8-Flash-Next.12

Context window (tokens)

  • For larger inputs, DeepSeek provides 1,048,576 context tokens versus Qwen’s 262,144.12

Estimated request cost

  • Qwen on Lyceum reduces the illustrated bill to $0.0025; DeepSeek on Novita costs $0.0042.43

Methodology and sources

SciCode is AA’s scientific-coding evaluation, reported as a percentage; higher is better. It is separate from the 10,000-input-token performance test and is not an in-editor Cline evaluation. Quality and performance use the configurations shown beside the model names. A current AA v5 Intelligence Index is displayed only where both models have a published value. AA performance uses the 10,000-input-token benchmark at each model’s displayed configuration; reasoning settings vary by model. Output speed is the median output rate. Answer latency measures the first answer token after reasoning, not the initial streamed reasoning chunk. For non-streamed reasoning and non-reasoning models, AA reports the same first-chunk and first-answer event. AA estimates answer latency from initial response and reasoning duration; it is not a separately sampled median. These are reference deployments, not Novita endpoint guarantees. The uncached cost example bills 10,000 input and 1,000 output tokens at each named seller’s tariff; it is not the cost of the AA benchmark. Prices, context and output limits use the cited seller sources.

  1. Artificial Analysis · DeepSeek V4.1 Flash 1017 (Max) · quality and performance
  2. Artificial Analysis · Qwen3.8-Flash-Next · quality and performance
  3. Lyceum · Qwen3.8-Flash-Next · API pricing and limits
  4. Novita AI · DeepSeek V4.1 Flash 1017 · endpoint pricing and limits
  5. Lyceum · Qwen3.8-Flash-Next · native context specification
  6. Lyceum · serverless request limits

Build with Novita Model APIs

Create an API key and connect your application.