Qwen: Qwen3 Coder 30B A3B Instruct✓ Catalog verified
Qwen3-Coder-30B-A3B-Instruct is a 30.5B parameter Mixture-of-Experts (MoE) model with 128 experts (8 active per forward pass), designed for advanced code generation, repository-scale understanding, and agentic tool use. Built on the Qwen3 architecture, it supports a native context length of 256K tokens (extendable to 1M with Yarn) and performs strongly in tasks involving function calls, browser use, and structured code completion. This model is optimized for instruction-following without “thinking mode”, and integrates well with OpenAI-compatible tool-use formats.
Overview
Qwen3-Coder-30B-A3B-Instruct is a 30.5B parameter Mixture-of-Experts (MoE) model with 128 experts (8 active per forward pass), designed for advanced code generation, repository-scale understanding, and agentic tool use. Built on the Qwen3 architecture, it supports a native context length of 256K tokens (extendable to 1M with Yarn) and performs strongly in tasks involving function calls, browser use, and structured code completion. This model is optimized for instruction-following without “thinking mode”, and integrates well with OpenAI-compatible tool-use formats.
Access: available through the official Qwen API. Context window: 160K.
Specifications
| API identifier | qwen/qwen3-coder-30b-a3b-instruct |
| Provider | Qwen |
| Model type | Text LLM |
| Context window | 160K catalog |
| Input modalities | text |
| Output modalities | text |
| Released | Jul 31, 2025 |
| Tokenizer | Qwen3 |
| Moderated | No |
| Architecture modality | text->text |
Pricing
Live pricing components for qwen/qwen3-coder-30b-a3b-instruct as published in the catalog.
| Pricing component | Raw unit price | Normalized | Unit |
|---|---|---|---|
| Prompt tokens | $7e-8 | $0.07 / 1M | Per input token |
| Completion tokens | $2.7e-7 | $0.27 / 1M | Per output token |
| Request fee | N/A | N/A | Per request |
| Image fee | N/A | N/A | Per image unit |
| Web search fee | N/A | N/A | Per search request |
Cost calculator
Estimate monthly spend from your own token volumes.
Estimated Total Cost
$0.09Calculated from current list pricing in the ModelsAtlas catalog.Capabilities
| Capability | Status | What it means |
|---|---|---|
| Visual Understanding | Not advertised | Image and document analysis support |
| Audio Processing | Not advertised | Speech and voice aligned flows |
| Tool Calling | ✓ Supported | Supports tools / function calling |
| Self-Hosting | ✓ Supported | Deploy outside managed APIs |
Capability signals
Directional signals derived from model metadata and capability tags — not official benchmark submissions.
Quick start
Call Qwen: Qwen3 Coder 30B A3B Instruct through an OpenAI-compatible client.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="qwen/qwen3-coder-30b-a3b-instruct",
messages=[{"role": "user", "content": "Explain quantum physics."}]
)
print(response.choices[0].message.content)Alternatives
Closest models by context window from a different provider.
| Model | Provider | Context | Input /1M | Actions |
|---|---|---|---|---|
| DeepSeek Chat (legacy id) | DeepSeek | 164K | $0.32 | View → |
| DeepSeek: DeepSeek V3 0324 | DeepSeek | 164K | $0.20 | View → |
Sources & attribution
Pricing and metadata are maintained in the ModelsAtlas catalog.
Frequently asked questions
How much does Qwen: Qwen3 Coder 30B A3B Instruct cost?
$0.07 per 1M input tokens and $0.27 per 1M output tokens on the official Qwen API.
What is the context window of Qwen: Qwen3 Coder 30B A3B Instruct?
Qwen: Qwen3 Coder 30B A3B Instruct supports up to 160K tokens of context.
Does Qwen: Qwen3 Coder 30B A3B Instruct support tool / function calling?
Yes, Qwen: Qwen3 Coder 30B A3B Instruct supports tool / function calling — you can register tools and the model will emit structured tool calls.
How do I access Qwen: Qwen3 Coder 30B A3B Instruct?
Use the official Qwen API with the model id `qwen/qwen3-coder-30b-a3b-instruct`. See the Quick start section above for code examples.