DeepSeek vs Qwen: coding benchmarks and cost

DeepSeek V4.1 Flash 1017 records 55.90% legacy SciCode versus Qwen3.8-Flash-Next’s 50.58%, with a $0.0042 Novita request example. Qwen Next remains a model reference here; Lyceum’s historical price is excluded from current recommendations.

Updated · 6 sources · Methodology

DimensionWinnerMarginEvidence
Legacy 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 101793.7 tokens/sDeepSeek V4.1 Flash 1017 177.3 / Qwen3.8-Flash-Next 83.6 tokens/s
AA time to first answer token (s)DeepSeek V4.1 Flash 101722.92 sDeepSeek V4.1 Flash 1017 40.00 s / Qwen3.8-Flash-Next 62.92 s
Estimated request cost——10K + 1K: DeepSeek V4.1 Flash 1017 $0.0042 / Qwen3.8-Flash-Next —43

AA coding quality benchmarks

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

Performance

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

Prices and request cost

MetricDeepSeek V4.1 Flash 1017 · Novita AIQwen3.8-Flash-Next · Lyceum
Input / 1M tokens$0.34—3
Output / 1M tokens$1.24—3
Context window (tokens)1,048,5764—3
Max output (tokens)393,2164—3
API documentationNovita AI · Chat API
Cost example: 10,000 input + 1,000 billed output tokens
Qwen3.8-Flash-Next—

Coding, reasoning, context and cost

Coding benchmark

  • Legacy SciCode is 55.90% for DeepSeek and 50.58% for Qwen Next. For repository tasks, compare accepted patches, test results and repeated tool calls on the same task set.12

Reasoning benchmark

  • AA first-answer time is 40.00 s for DeepSeek and 62.92 s for Qwen Next. A coding agent also waits for tools and tests; output speed alone does not measure end-to-end task time.12

Context window (tokens)

  • DeepSeek lists 1,048,576 context tokens. Qwen Next’s former Lyceum window was 256K; that historical endpoint limit is not a current service guarantee or Qwen Flash specification.45

Estimated request cost

  • For a current Qwen API path, Qwen3.8-Flash on Novita is $0.15 input / $0.47 output per 1M tokens. It is a different SKU from Qwen3.8-Flash-Next; the Next benchmark is not an endpoint test of this service.63

Methodology and sources

Data checked on 2026-11-18. SciCode is AA’s legacy scientific-coding benchmark and is under review; it does not measure repository completion or Cline success. Performance uses each named model’s current default AA headline configuration, with output speed and time to first answer kept separate. Reasoning settings differ by model. These are AA reference deployments, not Novita endpoint tests. The cost example uses 10,000 uncached input and 1,000 billed output tokens at the named seller’s rate. It excludes retries, additional tool turns and longer reasoning outputs. For agent selection, compare task completion, valid tool calls and total cost on the same repository and harness. Seller context and output limits describe API capacity, not the amount of code reliably understood. Qwen3.8-Flash-Next remains a model-performance reference. Lyceum’s current catalogue does not list its tariff and the former product URL redirects to Qwen3.8 27B. The article’s 2026-10-23 price quote is historical; those prices and limits are excluded from current cost rankings. This does not establish that the model is unavailable everywhere.

  1. Artificial Analysis · DeepSeek V4.1 Flash 1017 (Max) · quality and performance
  2. Artificial Analysis · Qwen3.8-Flash-Next · quality and performance
  3. Lyceum · current model catalogue and tariffs
  4. Novita AI · DeepSeek V4.1 Flash 1017 · endpoint pricing and limits
  5. Lyceum · historical Qwen Next specifications and price quote
  6. Novita AI · Qwen3.8-Flash · current API pricing and limits

Build with Novita Model APIs

Create an API key and connect your application.