Alibaba Cloud · coding · Released 2025-03-27

Qwen3-Coder 7B: pricing, context window and benchmarks

Qwen3-Coder 7B is a coding model from Alibaba Cloud. It offers a 32,768-token context window, costs $1.24 per million input tokens and $5.31 per million output tokens, and averages 59.6 across the index's benchmark suite.

codingopen weightssmall
Input price
$1.24
per 1M tokens
Output price
$5.31
per 1M tokens
Context
32,768
tokens
Avg score
59.6
rank #457 of 600
Arena Elo
1275.4
modelled
Max output
32,768
tokens

Pricing

Qwen3-Coder 7B costs $1.24 per million input tokens and $5.31 per million output tokens. A blended 3:1 input-to-output mix works out to about $2.26 per million tokens. Cached input is listed at $0.17 per million tokens.

ItemPriceNotes
Input$1.24per 1M tokens
Output$5.31per 1M tokens
Cached input$0.17per 1M tokens
Blended 3:1$2.26estimate per 1M tokens
1M in + 1M out$6.55estimate

Benchmarks

Scores below are modelled estimates on a 0–100 scale. Use them to compare relative position, not as official vendor results.

BenchmarkScoreRankPercentileRelative
MMLU-Pro 66.4 434 28th
GPQA Diamond 55.6 457 24th
SWE-bench Verified 43.4 487 19th
HumanEval 62.1 467 22th
MATH-500 61.9 447 26th
AIME 2025 52.7 437 27th
LiveCodeBench 48.3 463 23th
IFEval 71.1 441 27th
TruthfulQA 64.3 467 22th
HellaSwag 72.9 484 19th
MMMU 56.4 482 20th
Arena Elo 1275.4 452 25th

What Qwen3-Coder 7B is good for

Qwen3-Coder 7B is tuned toward coding work. It is a reasonable candidate for code generation, review, debugging and repository-scale tasks, especially when paired with a retrieval layer. At $1.24 per million input tokens, it sits in the mid-range of the index, and the 32,768-token context window is enough for large files and multi-file diffs.

Strengths

  • Input price of $1.24 per million tokens is at or below the index median.
  • Open weights make self-hosting, fine-tuning and data-residency review possible.
  • Coding benchmarks are a relative strength within its tier.

Trade-offs

  • Average benchmark score is below the index median; test it on your own task.
  • Less reliable on open-ended reasoning and complex multi-step instructions.

How it compares

ModelProviderContextInput / 1MAvg score
GPT-NeoX Base EleutherAI 16384 $1.22 59.7
Qwen3-Coder 7B Alibaba Cloud 32768 $1.24 59.6
MiniMax-Text 8B MiniMax 4096 $1.22 59.5
Nova Lite Nano Amazon 8192 $3.29 59.5
QwQ 8B Alibaba Cloud 16384 $1.37 59.5
Zephyr Base Hugging Face 4096 $1.26 59.5

Browse all comparisons →

FAQ

How much does Qwen3-Coder 7B cost?

Qwen3-Coder 7B is listed at $1.24 per million input tokens and $5.31 per million output tokens. Cached input is $0.17 per million tokens. A blended 3:1 input-to-output mix is about $2.26 per million tokens.

What is the context window of Qwen3-Coder 7B?

Qwen3-Coder 7B has a context window of 32,768 tokens and can emit up to 32,768 output tokens per request in this index.

Is Qwen3-Coder 7B open weights?

Yes. Qwen3-Coder 7B is listed as an open-weight model under a open weights licence.

How does Qwen3-Coder 7B score on benchmarks?

Qwen3-Coder 7B averages 59.6 across the scored benchmarks in this index, ranking #457 of 600 models. Its strongest relative result is Arena Elo at 1275.4.

What is Qwen3-Coder 7B best for?

Qwen3-Coder 7B is tuned toward coding work. It is a reasonable candidate for code generation, review, debugging and repository-scale tasks, especially when paired with a retrieval layer. At $1.24 per million input tokens, it sits in the mid-range of the index, and the 32,768-token context window is enough for large files and multi-file diffs.

Related