Qwen3 8B on Mac Studio M5 Ultra 256 GB

8.191B on 256 GB at 1,200 GB/s. Hardware details · Model details

Run locally →
Yes. Qwen3 8B fits on Mac Studio M5 Ultra 256 GB at the recommended Q8_0 configuration, requiring approximately 10.6 GB at 8K context. Practical context capacity is 40K. Expected decode for the recommended configuration is ~88.4–127 t/s. Estimated
CompatibilityComfortable
Calculated fit
Yes
Calculated Uses under 80% of usable memory. Room for a long context and other work.
Recommended quantization
Q8_0
Calculated gguf
Memory required
10.6 GB
Calculated of 217.6 GB usable — 5%
Max practical context
40K
Calculated model supports 40K

Memory budget at 8K context

Model weights ⓘ
8.3 GB Calculated
KV cache ⓘ
1.1 GB Calculated
Runtime overhead ⓘ
1.2 GB Estimated
Total required
10.6 GB Calculated
Headroom ⓘ
207.0 GB Calculated
Highest-precision quantization that leaves headroom: uses 5% of usable memory at 8K context.
Unified memory: weights, KV cache and the OS share the same 256 GB pool. We assume 85% is addressable by the GPU, which matches a headless machine with the wired-memory limit raised.
Performance

Estimated performance · recommended Q8_0

Decode, prefill and TTFT below are estimates for Q8_0. We do not have a comparable Q8_0 measurement on this machine.

Estimated decode
~88.4–127 t/s
Estimated Q8_0; calculated range
Estimated prefill
~3540–7360 t/s
Estimated Q8_0; calculated range
Estimated TTFT at 8K
~1.2–2.4 s
Estimated Q8_0; calculated range
Hardware load reference
215 W
Measured machine-level load; not this model run
How the estimate is calculated
  1. Decode: reading 8.2B active parameters at 8.50 bits/weight takes 8.28 ms at 1200 GB/s x 88% achieved efficiency.
  2. Prefill: 240 TFLOPS (FP16) x 1.69 calibrated against measured prefill on this platform x 22% assumed model-FLOPs utilisation, divided by 2 x 8.2B parameters per token.

  • 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.

Submit a benchmarkSubmissions stay pending until reviewed.
This model at other quantizations on this machine
QuantizationResidentDiskTotal neededUtilisationFitMax context
MLX 4-bit4.5 GB4.5 GB6.7 GB3%Comfortable40K
Q4_K_M4.8 GB4.8 GB7.0 GB3%Comfortable40K
Q5_K_M5.6 GB5.6 GB7.9 GB4%Comfortable40K
Q8_0recommended8.3 GB8.3 GB10.6 GB5%Comfortable40K
BF1615.3 GB15.3 GB17.8 GB8%Comfortable40K
Cost of running Qwen3 8B on this machineUnited States (federal) · C corporation · 8h/day
Monthly economic cost
$90
Calculated after tax
Codex/Claude Code
$100/mo
≈ $100/mo · local is $10 less
Net cash at purchase
$8,647
Calculated VAT not reclaimable
Total over 5 years
$5,424
Calculated after tax, after resale
Cost per USD/1M tokens
$6.62
Calculated 13.7M 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.

Purchase-price input: $8,647 in United States (federal), tax/VAT excluded · estimated · Apple Store NL (converted catalogue estimate). This is the localized purchase input; the after-tax economic cost is calculated separately below.

Monthly breakdown

Depreciation
6,053 over 5 years, straight-line to a 2,594 residual
$100.88
Electricity
9.4 kWh/month at 0.140/kWh
$1.32
Cost of capital
4.0%/yr on 5,621 average capital employed
$18.74
Monthly cost before tax$120.93
Electricity tax shield
Running costs are deductible business expenses
−$0.28
First-year expensing
§179 (100.0%)
−$30.26
Monthly economic cost after tax$90.39

Three different numbers, deliberately

Cash cost
$8,647
Money that leaves the bank account on day one, net of reclaimable VAT.
Accounting depreciation
$100.88/month
$6,053 written down over 5 years to a $2,594 residual.
After-tax economic cost
$90.39/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
$2,594 (30%) Assumption
Extrapolated from the three-year curve.
Electricity
$0.140/kWh Assumption
Average power draw
53 W Calculated
Load 215 W for 20% of powered hours, idle 13 W for the rest — a machine that is on is not generating tokens the whole time.
Investment allowances
§179 100.0% Official spec
Worth $1,816 in total — first-year expensing that replaces later tax depreciation.
Cost of capital
$18.74/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
12.5 t/s
Calculated purchase price only
Decode per $100/month
119.3 t/s
Calculated after-tax ownership cost
Tokens per joule
2.02
Calculated same as tokens/s per watt
USD per 1M output tokens
$6.62
Calculated at 20% utilisation
Local versus hosted APIs
Hosted modelUSD/1M outputBreak-evenAPI at your volumeVerdictComparison type
Qwen3.8 Flash
Alibaba Cloud
$0.4258.7M/mo$21API cheaperDifferent model
DeepSeek-V4.1 Flash
DeepSeek
$0.6050.2M/mo$25API cheaperDifferent model
DeepSeek-V4 Pro
DeepSeek
$1.9812.5M/mo$99About equalDifferent model
DeepSeek V4 Pro (Together)
Together AI
$4.404.3M/mo$290Local cheaperDifferent model
GLM-5.3
Z.ai
$4.405.8M/mo$213Local cheaperDifferent model
Claude Haiku 4.5
Anthropic
$5.007.0M/mo$178Local 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 $90/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.