Skip to content
Dashscope

Qwen Coder

Qwen Coder is available via Dashscope with a 1M context window and up to 16,384 output tokens. Pricing: $0.3000/1M input tokens, $1.50/1M output tokens.

Qwen Coder Pricing & Specifications

Input Price$0.30 per 1M tokens
Output Price$1.50 per 1M tokens
Context Window1,000,000 tokens (1M)
Max Output16,384 tokens
ProviderDashscope

What is Qwen Coder?

Qwen Coder is a large language model by Dashscope with a 1M context window and up to 16,384 output tokens. It costs $0.30 per 1M input tokens and $1.50 per 1M output tokens. Qwen Coder is available via Dashscope with a 1M context window and up to 16,384 output tokens. Pricing: $0.3000/1M input tokens, $1.50/1M output tokens.

Capabilities

text function calling reasoning

Qwen Coder Cost Examples

Short prompt (500 tokens)

$0.000150

Medium prompt (2K tokens)

$0.00060

Long output (4K tokens)

$0.00600

Count tokens for Qwen Coder

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Qwen Coder

Dashscope

Qwen Plus

$0.40/1M in 129K ctx

Dashscope

Qwen Plus 2025 01 25

$0.40/1M in 129K ctx

Dashscope

Qwen Plus 2025 04 28

$0.40/1M in 129K ctx

Dashscope

Qwen Plus 2025 07 14

$0.40/1M in 129K ctx

Frequently Asked Questions

How much does Qwen Coder cost per token? +
Qwen Coder costs $0.30 per 1M input tokens and $1.50 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.001050.
What is the context window for Qwen Coder? +
Qwen Coder supports a context window of 1,000,000 tokens (1M). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Qwen Coder? +
Qwen Coder can generate up to 16,384 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Qwen Coder good for coding tasks? +
Yes, Qwen Coder supports capabilities well-suited for coding tasks including code generation, debugging, and refactoring.
Token Counter | Pricing Calculator | Model Comparison | All Dashscope Models