impulse

Qwen Coder

Open weights
API id qwen-coder
Input / 1M
$0.30
at Alibaba DashScope
Output / 1M
$1.50
at Alibaba DashScope
Context window
1M
tokens
Max output
16K
tokens per reply
Hosts
3
3 listings
Released
-
date not published

Pricing

List prices at Alibaba DashScope, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$0.30$1.50

What it costs a month

At Alibaba DashScope list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$203
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$198
  • Coding agent1,000 requests a day, 40K in / 2K out$450
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$1,080
Use your own numbers

Where to run it

3 hosts serve Qwen Coder. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
qwen-coder
$0.30 / $1.50
qwen-coder
$0.30 / $1.50
Qwen CloudLab API
qwen-coder
$0.30 / $1.50

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text
Open weights
License: Apache-2.0
Runtimes: Ollama, SGLang, llama.cpp, vLLM

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Alibaba DashScope.

Smaller Alibaba Qwen models

No cheaper Alibaba Qwen model keeps its key capabilities.

Other frontier labs

  • GPT-5.4 Nano
    OpenAI · on OpenAI
    $0.20 / $1.25
    Has every key capability
    23% less
  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    67% less
  • GPT-6 Luna
    OpenAI · on OpenAI
    $0.10 / $0.50
    Has every key capability
    67% less
  • GPT-4o Mini
    OpenAI · on OpenAI
    $0.15 / $0.60
    Lacks reasoning
    56% less

Open-weight picks

  • DeepSeek Flash
    DeepSeek · on DeepSeek
    $0.30 / $1.20
    Has every key capability
    13% less
  • Longcat 2.0
    Independent · on OpenCode Go
    $0.30 / $1.20
    Has every key capability
    13% less
  • Qwen3.7 Plus
    Alibaba Qwen · on Replicate
    $0.276 / $1.10
    Has every key capability
    20% less
  • GLM 4 6v
    Zhipu AI · on Novita AI
    $0.30 / $0.90
    Has every key capability
    25% less

Call it

Using Alibaba DashScope's API.

Python
from litellm import completion

response = completion(
    model="dashscope/qwen-coder",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Qwen Coder cost?

On Alibaba DashScope, Qwen Coder costs $0.30 per million input tokens and $1.50 per million output tokens.

Which APIs offer Qwen Coder?

Qwen Coder runs on 3 APIs: Alibaba DashScope, Qianwen AI Platform and Qwen Cloud.

What is Qwen Coder's context window?

1M tokens, with up to 16K tokens in one reply.

Is Qwen Coder being retired?

No retirement date is scheduled for it on any API we track.

What are cheaper alternatives to Qwen Coder?

Models that cost less and keep most of what it can do: GPT-5.4 Nano on OpenAI (23% less), Claude Haiku 5.5 on Anthropic (67% less) and DeepSeek Flash on DeepSeek (13% less). Savings are on a mix of 3 input tokens to 1 output token.

What is Qwen Coder's API model id?

Use qwen-coder with Alibaba DashScope.

Sources

Raw catalog entry for qwen-coder on Alibaba DashScope
{
  "input_cost_per_token": 3e-7,
  "litellm_provider": "dashscope",
  "max_input_tokens": 1000000,
  "max_output_tokens": 16384,
  "mode": "chat",
  "output_cost_per_token": 0.0000015,
  "source": "https://www.alibabacloud.com/help/en/model-studio/models",
  "supports_function_calling": true,
  "supports_reasoning": true,
  "supports_tool_choice": true
}