Qwen3-Coder-Next
Alibaba Qwen's Apache 2.0 open-weight 80B Mixture-of-Experts coding model activating 3B parameters per token, trained with agent reinforcement learning for 256K-context repository repair and CLI tool use.
What you can do
- Autonomous repository bug fixing
- CLI and IDE agent workflows
- Self-hosted coding assistance
Input & output
- Input
- Text, repository code, and tool execution outputs
- Output
- Code patches and structured tool calls
Try a prompt like this
Inspect the failing Go race-detector test log in this repository, locate the shared map mutation across goroutines, and produce a thread-safe patch.
Things to know
Released under Apache 2.0 and operates strictly in non-thinking mode; despite 3B active compute, holding 80B total weights requires ~160 GB VRAM in BF16 (~45–80 GB in INT4/FP8), and shell execution should be sandboxed.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
Qwen/Qwen3-Coder-Next
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="Qwen/Qwen3-Coder-Next",
messages=[{"role": "user", "content": "Inspect the failing Go race-detector test log in this repository, locate the shared map mutation across goroutines, and produce a thread-safe patch."}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide