Qwen, released Jul 31, 2025
Qwen3 Coder 30B A3B Instruct
Qwen3 Coder 30B A3B Instruct is an open-weights Mixture-of-Experts coding model from Qwen that only activates a small part of its parameters on each pass, which keeps it very cheap to run over an API. It came out in July 2025, so it sits below Qwen's newer 2026 lineup like Qwen3.8 Flash and Qwen4 Max, and it's noticeably cheaper on output than those newer models too. Qwen built it specifically for writing code, working across large repositories, and running tool-using agents.
Already paying for ChatGPT or Claude?
Qwen3 Coder 30B A3B Instruct costs $0.28 per 1M output tokens. Use GPT-6 and Claude through your plan instead, $0 per token.
Updated
Qwen3 Coder 30B A3B Instruct pricing and specs
- Input
- $0.07per 1M tokens
- Output
- $0.28per 1M tokens
- Context window
- 262K262,144 tokens
- Max output
- 236K235,929 tokens
- Released
- Jul 31, 2025
- Knowledge cutoff
- Jun 2025
- Accepts
- Text
- Features
- Tool callingStructured outputsOpen weights
What Qwen3 Coder 30B A3B Instruct is good at
- Working across large codebases, since the huge context window lets you load in plenty of files at once and the model can return very long outputs when you're rewriting or generating a lot of code in one go.
- Coding agents and tool loops. It supports tool calling and structured JSON output, and the low output cost matters when an agent is making a bunch of calls in a row.
- High-volume code generation where paying for a pricey flagship like Qwen4 Max or Qwen3.8 Max Prime doesn't make sense.
- Teams that might want to self-host down the road, since the weights are open under Qwen/Qwen3-Coder-30B-A3B-Instruct.
Good to know
- Text only. If your workflow involves passing in images or anything non-text, you'll need a different model.
- Knowledge cuts off in June 2025 (well behind the 2026 Qwen3.8 and Qwen4 releases), so it won't know about recent library or framework changes.
- Compared to Qwen3.8 27B, Qwen3 Coder costs more on input tokens but way less on output, which makes a difference when your workload is heavy on code generation.
Qwen3 Coder 30B A3B Instruct vs similar models
| Model | Input | Output | Plan2API | Context |
|---|---|---|---|---|
| Qwen3 Coder 30B A3B Instruct | $0.07 | $0.28 | Not available | 262K |
| Qwen4 Max | $1.425 | $4.275 | Not available | 1M |
| Qwen3.8 Max Prime | $4 | $12 | Not available | 1M |
| Qwen3.8 Omni Flash | $0.15 | $0.47 | Not available | 1M |
| gpt-oss-120b | $0.03 | $0.187 | $0 on Gemini | 131K |
| MiMo-V2.6-Flash | $0.14 | $0.28 | Not available | 1M |
Qwen3 Coder 30B A3B Instruct cost per month
| Workload | API price |
|---|---|
| Side project2M in, 500K out | $0.28 |
| Production app25M in, 5M out | $3.15 |
| Agents at scale250M in, 50M out | $31.50 |
FAQ
How much does the Qwen3 Coder 30B A3B Instruct API cost?
Qwen3 Coder 30B A3B Instruct costs $0.07 per 1M input tokens and $0.28 per 1M output tokens.
What is the Qwen3 Coder 30B A3B Instruct context window?
Qwen3 Coder 30B A3B Instruct takes 262,144 tokens of context, with up to 235,929 output tokens per request.
When was Qwen3 Coder 30B A3B Instruct released?
Qwen released Qwen3 Coder 30B A3B Instruct on Jul 31, 2025.
Can I use Qwen3 Coder 30B A3B Instruct with my subscription?
Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6 and Claude models run through your ChatGPT or Claude plan at $0 per token instead.
Can I self-host Qwen3 Coder 30B A3B Instruct?
Yes. Qwen released it with open weights as Qwen/Qwen3-Coder-30B-A3B-Instruct, so you aren't locked into an API if you eventually want to run it on your own setup.
Should I use this or one of the newer Qwen models?
Depends on what you're building. If your workload is mostly writing code, working across big repos, and running tool-calling loops on a budget, Qwen3 Coder is built for that. But if you need knowledge past June 2025 or you're doing broader work outside coding, Qwen3.8 Flash, Qwen3.8 Omni Flash, or Qwen4 Max are the newer options to look at.
More Qwen models
Already paying for ChatGPT or Claude? Use GPT-6 and Claude through your plan, $0 per token.
- Free: 1 subscription, no daily cap, no card
- Pro: $12 a month