Alibaba Cloud logo

Qwen3-Coder-30B-A3B

Code-specialized 30.5B MoE with 3.3B active across 128 experts, small enough to run on consumer hardware for code generation and agentic coding.

Params
30.5B, 3.3B active
Context
262K tokens
Max output
66K
License
Apache 2.0

Hosted API price

List price via Alibaba Cloud · per 1M tokens

USD
Input
$0.45 /1M
Output
$2.25 /1M
Cheapest
$0.06 / $0.25 via Lyceum
Hosted by
Lyceum Novita EcoHash Alibaba Cloud 4 providers

Hosted API pricing

How we price

Order

Providers are listed cheapest input rate first, then by output rate, a tie going to the creator's own listing. A provider that lists the model without a published rate sits at the end.

Prices

Base-tier, on-demand rates in USD per 1M tokens, converted at ECB reference rates where a provider publishes in another currency. Cached-input and batch rates show only where a provider publishes them. "Cheapest" marks the one provider with the lowest input and output pair; a tie wears no badge.

Cost

Input rate times the input tokens plus output rate times the output tokens, at the monthly volume set above the table. Cached-input, batch, long-context and reasoning-token billing are not modelled.

Transparency and funding

  • Affiliates: Affiliate links are marked. We may earn a commission if you click them, but commissions never affect the order.

Every provider serving Qwen3-Coder-30B-A3B, cheapest input first. Set your monthly volume to see what each would bill.

Every provider serving Qwen3-Coder-30B-A3B, with its price per 1M input and output tokens and what the volume above would cost
Provider Input /1M Output /1M Cached input /1M Cost at 10M in + 2M out Link
Lyceum logo Lyceum Cheapest $0.06 $0.25 $0.01 $1.10 Visit website
Novita logo Novita $0.07 $0.27 $1.24 Visit website
EcoHash logo EcoHash $0.10 $0.30 $0.05 $1.60 Visit website
Alibaba Cloud logo Alibaba Cloud Creator $0.45 $2.25 $9.00 Visit website

Heads up: Base-tier, on-demand rates per 1M tokens; cached, batch and long-context tiers excluded. A provider may serve a shorter context or a quantized build than the creator's release. Verify before provisioning. More on how we price.

Estimated cost to self-host

Qwen3-Coder-30B-A3B needs about 20 GB of GPU memory at 4-bit with 32K context. The cheapest rental that fits is 2× RTX 4060 Ti at about $187 a month.

That costs the same as roughly 250M tokens a month on Alibaba Cloud's API. Self-hosting is more expensive below that volume.

Single node ≤ 8
What it costs to self-host Qwen3-Coder-30B-A3B at each precision: the memory it needs, the cheapest rental that holds it, that rental's month and the API volume it pays off at
Precision Memory Cheapest fit (32K context) Cost /mo Break-even vs API
4-bit INT4 / FP4 20 GB Nvidia logo 2× RTX 4060 Ti $187 250M tokens /mo
8-bit FP8 / INT8 36 GB Nvidia logo 4× RTX 3060 $230 307M tokens /mo
16-bit FP16 / BF16 66 GB Nvidia logo 8× RTX 3060 $461 614M tokens /mo

Estimates based on median on-demand rates for Nvidia GPUs. Memory is weights plus KV cache for one request, using FP8 KV cache where supported and FP16/BF16 otherwise. Break-even assumes a 5:1 input-to-output ratio. No guarantee of runtime support, usable performance, or that a matching quantized build exists. Pricing methodology.

Similarly priced models

The models nearest Qwen3-Coder-30B-A3B by blended rate, each at its own cheapest provider.

Models priced nearest Qwen3-Coder-30B-A3B per 1M tokens, each at its cheapest provider
Model Blended /1M Input /1M Output /1M Context Cutoff vs Qwen3-Coder-30B-A3B
Cohere Command R7B Cohere $0.0583 $0.04 $0.15 128K −36%
Google Cloud Gemma 3 12B Instruct Google Cloud $0.0583 $0.05 $0.10 128K Aug 2024 −36%
OpenAI GPT-OSS-120B OpenAI $0.0628 $0.039 $0.182 131K Jun 2024 −31%
Nvidia Nemotron 3 Nano 30B A3B Nvidia $0.075 $0.05 $0.20 262K Jun 2025 −18%
Meta Llama 3 8B Meta $0.0833 $0.05 $0.25 8K Mar 2023 −9%
Alibaba Cloud Qwen3-Coder-30B-A3B This model Alibaba Cloud $0.0917 $0.06 $0.25 262K
Meta Llama 3.2 3B Meta $0.0983 $0.051 $0.335 128K Dec 2023 +7%
Alibaba Cloud Qwen3-30B-A3B FP8 Alibaba Cloud $0.0983 $0.051 $0.335 33K +7%
Mistral Ministral 3 3B Mistral $0.10 $0.10 $0.10 256K +9%
Z.AI GLM-5.3-Flash Z.AI $0.1042 $0.075 $0.25 1M +14%
OpenAI GPT-5 Nano OpenAI $0.1083 $0.05 $0.40 400K May 2024 +18%

USD per 1M tokens at each model's cheapest listed provider. Blended is the cost of 10M input plus 2M output tokens, spread over the 12M.

Capabilities

What Qwen3-Coder-30B-A3B accepts and can do, as published by Alibaba Cloud.

  • Text Accepts and generates natural-language text.
  • Function calling Connect to external tools, APIs, and systems.
  • Structured output Return responses in structured formats like JSON.

Common questions

What is Qwen3-Coder-30B-A3B good for?

Agentic coding and browser-use tool calling on local hardware. Apache 2.0 weights, a 30.5B mixture of experts with 3.3B active, on a single consumer GPU.

When is Qwen3-Coder-30B-A3B not a good fit?

Tasks that need a reasoning trace, since it is non-thinking only, and general assistant work, where the lineup's non-Coder models fit. No image or video input, and no built-in web search, though a host or your own tool loop can add one.

What is the cheapest way to run Qwen3-Coder-30B-A3B?

Hosted, unless you push serious volume. Alibaba Cloud charges $0.45 in / $2.25 out per 1M tokens. The cheapest rental that fits is 2x RTX 4060 Ti at $187 a month, which costs the same as about 250M tokens a month on that API.

Can I self-host Qwen3-Coder-30B-A3B?

Yes. The weights are Apache 2.0 licensed. At 4-bit it needs about 20 GB of GPU memory, which starts at roughly $187 a month on the cheapest rental that fits.

More from Alibaba Cloud

  • Qwen3-30B-A3B FP8 Open weights 33K context
    From $0.051 / $0.335 /1M in / out at the cheapest provider
  • Qwen3.5-35B-A3B Open weights 262K context
    From $0.057 / $0.459 /1M in / out at the cheapest provider
  • Qwen3.6-35B-A3B Open weights 262K context
    From $0.07 / $0.42 /1M in / out at the cheapest provider
  • Qwen3-32B FP8 Open weights 33K context
    From $0.10 / $0.30 /1M in / out at the cheapest provider
  • Qwen3.5-Flash 1M context
    From $0.10 / $0.40 /1M in / out at the cheapest provider
  • Qwen3-235B-A22B Instruct (2507) Open weights 262K context
    From $0.09 / $0.58 /1M in / out at the cheapest provider
  • Qwen3.7-Flash 1M context
    From $0.03 / $0.13 /1M in / out at the cheapest provider
  • Qwen3.5-27B Open weights 262K context
    From $0.086 / $0.688 /1M in / out at the cheapest provider