Qwen3-Coder 30B-A3B on Quad RTX 5090 workstation (4x 32 GB)

30.532B (3.3B active) on 128 GB at 7,168 GB/s. Hardware details · Model details

CompatibilityComfortable
Fits
Yes
Calculated Uses under 80% of usable memory. Room for a long context and other work.
Recommended quantization
Q8_0
Calculated gguf
Memory required
34.7 GB
Calculated of 112.6 GB usable — 31%
Max practical context
256K
Calculated model supports 256K

Memory budget at 8K context

Model weights
30.8 GB Calculated
KV cache
0.8 GB Calculated
Runtime overhead
3.1 GB Estimated
Total required
34.7 GB Calculated
Usable memory
112.6 GB Assumption
Headroom
77.9 GB Calculated
Highest-precision quantization that leaves headroom: uses 31% of usable memory at 8K context.
4 GPUs pooling 128 GB total VRAM. Assumes tensor- or layer-parallel sharding; each GPU carries its own context and communication buffers.
Mixture of experts: all 30.532B parameters must be resident in memory even though only ~3.3B are active per token. Memory follows total parameters; speed follows active parameters.
Multi-GPU throughput depends heavily on interconnect. Without NVLink, tensor parallelism over PCIe adds latency that partially offsets the extra bandwidth.
PerformanceEstimated0/10
Decode (generation)
~301–434 t/s
Estimated calculated, not measured
Prefill (prompt)
~9980–20730 t/s
Estimated
TTFT at 8K
~0.5–0.9 s
Estimated time to first token
Power while generating
2250 W
Measured 0.61 tokens/s per watt
These figures are estimated, not measured. Nobody has published a benchmark of Qwen3-Coder 30B-A3B on this machine that we know of, so we calculate throughput from memory bandwidth and active parameter count. Estimates are always shown as a range. Expand the working below to see exactly how the number was produced.
How the estimate is calculated
  1. Multi-GPU: 1792 GB/s per card, with each additional card contributing 40% of its bandwidth — 3942 GB/s effective, not the 7168 GB/s aggregate. Consumer Blackwell has no NVLink, so every layer's all-reduce crosses PCIe.
  2. Decode: reading 3.3B active parameters at 8.50 bits/weight takes 1.12 ms at 3942 GB/s x 79% achieved efficiency.
  3. MoE routing penalty of 15% applied: expert gathers are less bandwidth-efficient than a dense sweep.
  4. Per-token overhead of 1.4 ms (kernel launches, attention bookkeeping, sampling) is significant here — this model is not purely bandwidth-bound on this hardware.
  5. Prefill: 838 TFLOPS (FP16) x 2 for native FP8 tensor cores x 0.71 calibrated against measured prefill on this platform x 26% assumed model-FLOPs utilisation, divided by 2 x 10.0B parameters per token.
  6. Prefill uses 10.0B effective parameters, not the 3.3B active in decode: a batch of hundreds of tokens routes across most of the expert pool.

  • MoE decode depends on how well the engine batches expert gathers; real results vary more than for dense models.
  • With few active parameters on fast memory, fixed per-token overhead rather than bandwidth sets the ceiling. Real engines vary widely in how well they hide it.
  • Prefill throughput is highly engine-dependent. Flash attention, batch size and quantized KV all move this number substantially, and for sparse mixture-of-experts models it is the least reliable figure we produce.
  • This is a calculated estimate, not a measurement. It assumes a single request, a short prompt, no speculative decoding and a warm model already resident in memory.

Estimator version estimator_v1. Stored with every estimated row so old estimates can be regenerated when the model improves.

This model at other quantizations on this machine
QuantizationWeightsTotal neededUtilisationFitMax context
MLX 4-bit16.6 GB20.1 GB18%Comfortable256K
Q4_K_M17.8 GB21.2 GB19%Comfortable256K
Q8_0recommended30.8 GB34.7 GB31%Comfortable256K
BF1656.9 GB61.5 GB55%Comfortable256K
Cost of running Qwen3-Coder 30B-A3B on this machineUnited States (federal) · C corporation · 8h/day
Monthly economic cost
$170
Calculated after tax
Codex/Claude Code
$100/mo
≈ $100/mo · local is $70 more
Net cash at purchase
$12,611
Calculated VAT not reclaimable
Total over 5 years
$10,224
Calculated after tax, after resale
Cost per USD/1M tokens
$3.66
Calculated 46.6M tokens/month

The $100 comparison uses the Codex Pro 5x / Claude Max 5x plans. A fixed planning conversion is used for USD. This compares monthly spend only: subscriptions have usage limits, local hardware has different capabilities and constraints, and taxes or regional pricing may change the charged amount. Prices checked 7 September 2026.

Monthly breakdown

Depreciation
10,719 over 5 years, straight-line to a 1,892 residual
$178.65
Electricity
106.0 kWh/month at 0.140/kWh
$14.83
Cost of capital
4.0%/yr on 7,251 average capital employed
$24.17
Monthly cost before tax$217.65
Electricity tax shield
Running costs are deductible business expenses
−$3.11
First-year expensing
§179 (100.0%)
−$44.14
Monthly economic cost after tax$170.40

Three different numbers, deliberately

Cash cost
$12,611
Money that leaves the bank account on day one, net of reclaimable VAT.
Accounting depreciation
$178.65/month
$10,719 written down over 5 years to a $1,892 residual.
After-tax economic cost
$170.40/month
Depreciation plus running costs plus cost of capital, less the tax those deductions save. This is the figure to compare between machines.
Assumptions and sources (verified 2026-09-07)
VAT rate
0% Official spec
VAT recoverable
0% Official spec
Federal C-corporation estimate at the flat 21% rate. Pass-through entities should use the sole-proprietor estimate as a rougher proxy.
Effective deduction rate
21.00% Calculated
Headline marginal rate 21.00%.
Depreciation
5 years, straight-line Assumption
Residual value
$1,892 (15%) Assumption
Two GPU generations later, the card is worth a fraction of its list price.
Electricity
$0.140/kWh Assumption
Average power draw
602 W Calculated
Load 2250 W for 20% of powered hours, idle 190 W for the rest — a machine that is on is not generating tokens the whole time.
Investment allowances
§179 100.0% Official spec
Worth $2,648 in total — first-year expensing that replaces later tax depreciation.
Cost of capital
$24.17/month Assumption
Assumes the machine generates tokens 20% of its 176 powered hours per month. Cost per token scales inversely with this number — halve the utilisation and the cost per token doubles.
Federal planning estimate only, not tax advice. State and local income tax, sales/use tax and incentives are excluded. It assumes 100% business use, a Section 179 election, enough business income to use it, and that the full annual limit remains available.
Efficiency metrics
Decode per $1,000 spent
29.1 t/s
Calculated purchase price only
Decode per $100/month
215.6 t/s
Calculated after-tax ownership cost
Tokens per joule
0.61
Calculated same as tokens/s per watt
USD per 1M output tokens
$3.66
Calculated at 20% utilisation
Local versus hosted APIs
Hosted modelUSD/1M outputBreak-evenAPI at your volumeVerdictComparison type
Qwen3.8 Flash
Alibaba Cloud
$0.42110.7M/mo$72API cheaperDifferent model
DeepSeek-V4 Flash
DeepSeek
$0.6670.4M/mo$113API cheaperDifferent model
DeepSeek-V4 Pro
DeepSeek
$1.9823.5M/mo$338Local cheaperDifferent model
DeepSeek V4 Pro (Together)
Together AI
$4.408.0M/mo$987Local cheaperDifferent model
GLM-5.3
Z.ai
$4.4010.9M/mo$726Local cheaperDifferent model
Claude Haiku 4.5
Anthropic
$5.0013.1M/mo$605Local cheaperDifferent model
Different-model comparison: the hosted model is not the model you would run locally. Treat this as a workload-quality trade-off, not a direct economic equivalence — the frontier model may complete a task in fewer tokens, or complete tasks the local model cannot. Break-even is the monthly output volume at which API spend equals the $170/month economic cost of owning this machine, assuming 8 input tokens per output token. Hosted prices are published in USD. This table is the canonical US default.
Page quality score (why this page is or is not indexed)

10/13 indexed. Generated pages are gated so we do not ask a search engine to rank a page with nothing computed to say. The directive is emitted in the page head via the metadata API, not in the body, so it is authoritative.

  • Has a memory-fit calculation (+3)
  • Has a performance estimate (+2)
  • Has a price (+2)
  • Has an ownership economics calculation (+2)
  • Well connected (18 internal links) (+1)