Back to Models

Qwen3 Coder Next

qwenqwen/qwen3-coder-next

Alibaba Qwen's next-generation code model. Optimized for repository-level understanding and multi-turn tool interaction, at performance close to Qwen3-Coder-Plus.

Qwen3-Coder-Next is Alibaba Cloud Model Studio's balanced managed Qwen-Coder option for everyday agentic coding. In TheRouter it is exposed as a text-in, text-out OpenAI-compatible chat model with streaming, tool calls, structured JSON, a 262,144-token catalog context window, and 65,536-token maximum output.

Use it when teams want a practical default between Plus and Flash: repository search, medium patches, generated tests, code review triage, CI-failure explanations, and IDE assistant workloads where quality, speed, and cost all matter. Alibaba's Qwen-Coder material positions this family around coding agents, function calling, repository context, and external-environment interaction.

The caveat is evidence discipline. Public sources support Qwen3-Coder family capabilities and Alibaba's model-list/pricing facts, but they do not publish a complete Next-specific benchmark table. This page therefore treats Next as the balanced managed coder, not as a benchmark-proven quality ceiling; escalate high-risk autonomous edits to Plus, a larger Qwen-Coder sibling, or another frontier coder after your own evals.

Best for
  • β€’ High-throughput coding assistants that need tool calls, streaming, and OpenAI-compatible SDK integration without flagship model cost
  • β€’ Code review prefilters, test generation, CI-log explanations, and small-to-medium patch suggestions where failure cost is bounded
  • β€’ Repository prompts that fit inside the 262K catalog window and need a balanced first pass before escalating to Plus or a frontier coder
  • β€’ Cursor/Cline-style tools, custom agents, and batch developer workflows that already target /v1/chat/completions
Reach for something else if
  • β€’ Highest-stakes autonomous refactors, security-sensitive patching, or migrations where quality ceiling matters more than unit cost
  • β€’ Native image, audio, video, or PDF understanding; this catalog entry is text input and text output
  • β€’ Next-specific benchmark comparisons; Alibaba's public material checked here does not publish a full independent Next benchmark table

How TheRouter serves this differently from the vendor

As the vendor operates it

Alibaba Cloud operates Qwen3-Coder-Next as a DashScope / Model Studio managed model with its own compatible-mode endpoints, regional routing, and multi-band input-length pricing.

On TheRouter

TheRouter exposes it as qwen/qwen3-coder-next on the shared OpenAI-compatible /v1/chat/completions endpoint. The public catalog currently stores the base rate and the 32K-128K long-context tier; Alibaba's highest 128K-256K input band is noted in source comments but cannot be represented by the single-threshold schema, so very large prompts should be cost-tested before production rollout.

Context Length
262K
Max Output
66K
Input Priceper 1M tokens
$0.324/ 1M tokens
Output Priceper 1M tokens
$1.62/ 1M tokens

Modalities

text→text

Pricing Breakdown

TypeRate
Input$0.324 / 1M tokens
Output$1.62 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatstop

Specifications

Managed SKUqwen3-coder-nextwww.alibabacloud.com β†—verified
TheRouter public idqwen/qwen3-coder-nextwww.alibabacloud.com β†—verified
Context window262,144 tokens in TheRouter catalogwww.alibabacloud.com β†—verified
Max output65,536 tokens in TheRouter catalogwww.alibabacloud.com β†—verified
ModalitiesText input, text outputwww.alibabacloud.com β†—verified
Supported operationsChat completions, streaming, tool calls, tool_choice, response_format, stop sequenceswww.alibabacloud.com β†—verified
Pricing structureTiered by input length; TheRouter currently stores the base tier plus the 32K-128K long-context tierwww.alibabacloud.com β†—verified
Training cutoffNot publicly disclosedunknown

Benchmarks

BenchmarkDistributionScoreSource
Qwen3-Coder family agentic coding
Qwen's launch material reports open-model SOTA agentic coding, browser-use, and tool-use performance for the Qwen3-Coder family / 480B flagship. This supports the family positioning, not a Next-specific numeric claim.
Family-level evidence; Next-specific public score not disclosedqwenlm.github.io β†—
Tool calling / external environment workflows
Alibaba's Qwen-Coder documentation covers tool-calling and external-environment interaction patterns. Use this as capability evidence and run project-specific evals for exact reliability.
Documented capability; no independent Next score publishedalibabacloud.com β†—
Public Next-specific benchmark disclosure
Alibaba publishes model positioning, API behavior, and pricing for the managed Coder SKUs, but this pass found no official SWE-bench, LiveCodeBench, HumanEval, or Terminal-Bench table specifically for qwen3-coder-next.
Not publicly disclosedalibabacloud.com β†—

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "qwen/qwen3-coder-next",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'

Chat completion

Use the standard OpenAI-compatible chat endpoint for code edits, explanations, and review triage.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen3-coder-next",
    "messages": [
      {"role": "system", "content": "You are a senior software engineer. Return concise patches and tests."},
      {"role": "user", "content": "Explain this failing test and suggest the smallest fix: ..."}
    ],
    "temperature": 0.3,
    "max_tokens": 4096
  }'

More from qwen

Similar models

Cross-provider sibling models

News & changes

2026-06-01

DashScope documents OpenAI Responses API support for Qwen models

Alibaba Cloud's Model Studio guide lists qwen3-coder-next among Qwen models callable through its OpenAI-compatible Responses API, alongside chat-completions compatibility for teams migrating agent workloads.

re-authored by TheRouterhelp.aliyun.com β†—
2025-07-22

Qwen launches the Qwen3-Coder family and Qwen Code

The Qwen3-Coder launch framed the family around agentic coding, repository-scale context, tool use, Qwen Code, and OpenAI-compatible integration paths for developer tools.

re-authored by TheRouterqwenlm.github.io β†—

Frequently asked

When should I choose qwen/qwen3-coder-next instead of Plus or Flash?

Choose Next when the workload is coding-agent shaped and the team wants a balanced default: repository search, generated tests, medium patches, CI explanation, and code-review triage. Escalate to Plus, 480B, or a frontier coder when the change is autonomous, high-risk, or hard to evaluate automatically; use Flash when cost and throughput dominate quality.

Does Qwen3-Coder-Next support tool calling?

Yes. TheRouter's catalog lists tools and tool_choice for qwen/qwen3-coder-next, and Alibaba's Qwen-Coder documentation describes function-calling patterns for coding-agent workflows.

Is the 1M context free to use at the same price as small prompts?

No. Alibaba documents input-length pricing bands for Qwen-Coder models, and TheRouter's current catalog can represent only a base tier plus one long-context tier. Validate cost on realistic prompt sizes before allowing agents to send very large repositories.

Can I use it from Cursor, Cline, or another OpenAI-compatible client?

Yes. TheRouter exposes qwen/qwen3-coder-next through the OpenAI-compatible chat endpoint. Set the client's base URL to https://api.therouter.ai/v1, use your TheRouter API key, and set the model name exactly to qwen/qwen3-coder-next.

Are Next benchmark scores published?

Not as a complete official Next-specific table in the public sources checked for this pass. The page therefore uses high-confidence sourcing for capabilities and pricing, and it labels benchmark evidence as family-level or not publicly disclosed rather than inventing scores.

Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Managed SKUwww.alibabacloud.com β†—2026-08-18verified
TheRouter public idwww.alibabacloud.com β†—2026-08-18verified
Context windowwww.alibabacloud.com β†—2026-08-18verified
Max outputwww.alibabacloud.com β†—2026-08-18verified
Modalitieswww.alibabacloud.com β†—2026-08-18verified
Supported operationswww.alibabacloud.com β†—2026-08-18verified
Pricing structurewww.alibabacloud.com β†—2026-08-18verified
Training cutoffβ€”β€”unknown
Qwen3-Coder family agentic codingqwenlm.github.io β†—2026-08-18verified
Tool calling / external environment workflowsalibabacloud.com β†—2026-08-18verified
Public Next-specific benchmark disclosurealibabacloud.com β†—2026-08-18verified
DashScope documents OpenAI Responses API support for Qwen modelshelp.aliyun.com β†—2026-08-18verified
Qwen launches the Qwen3-Coder family and Qwen Codeqwenlm.github.io β†—2026-08-18verified
When should I choose qwen/qwen3-coder-next instead of Plus or Flash?www.alibabacloud.com β†—2026-08-18to verify
Does Qwen3-Coder-Next support tool calling?www.alibabacloud.com β†—2026-08-18to verify
Is the 1M context free to use at the same price as small prompts?www.alibabacloud.com β†—2026-08-18to verify
Can I use it from Cursor, Cline, or another OpenAI-compatible client?www.alibabacloud.com β†—2026-08-18to verify
Are Next benchmark scores published?www.alibabacloud.com β†—2026-08-18to verify
Customer Support