Phi-3.5 MoE 42B-A6.6B on Mac Studio M5 Max 36 GB
41.873B (6.6B active) on 36 GB at 614 GB/s. Hardware details · Model details
Yes. Phi-3.5 MoE 42B-A6.6B fits on Mac Studio M5 Max 36 GB at the recommended
Q4_K_M configuration, requiring approximately 27.1 GB at 8K context. Practical context capacity is 16K.CompatibilityFits
Calculated fit
Yes
Calculated Uses 80-90% of usable memory. Works, with limited headroom.
Recommended quantization
Q4_K_M
Calculated gguf
Memory required
27.1 GB
Calculated of 30.6 GB usable — 89%
Max practical context
16K
Calculated model supports 128K
Memory budget at 8K context
Model weights ⓘ
24.4 GB Calculated
KV cache ⓘ
1.0 GB Calculated
Runtime overhead ⓘ
1.7 GB Estimated
Total required
27.1 GB Calculated
Headroom ⓘ
3.5 GB Calculated
Fits with limited headroom (89% of usable memory). A longer context will not leave room for much else.
Unified memory: weights, KV cache and the OS share the same 36 GB pool. We assume 85% is addressable by the GPU, which matches a headless machine with the wired-memory limit raised.
Mixture of experts: all 41.873B parameters must be resident in memory even though only ~6.6B are active per token. Memory follows total parameters; speed follows active parameters.
Performance
Estimated performance · recommended Q4_K_M
Decode, prefill and TTFT below are estimates for Q4_K_M. We do not have a comparable Q4_K_M measurement on this machine.
Estimated decode
—
Estimated Q4_K_M; calculated range
Estimated prefill
—
Estimated Q4_K_M; calculated range
Estimated TTFT at 8K
~5.7–11.9 s
Estimated Q4_K_M; calculated range
Hardware load reference
105 W
Measured machine-level load; not this model run
No throughput figures for this configuration. We do not estimate performance for a model that cannot load.
How the estimate is calculated
- Decode: reading 6.6B active parameters at 4.85 bits/weight takes 7.44 ms at 614 GB/s x 88% achieved efficiency.
- MoE routing penalty of 15% applied: expert gathers are less bandwidth-efficient than a dense sweep.
- Prefill: 96 TFLOPS (FP16) x 1.69 calibrated against measured prefill on this platform x 22% assumed model-FLOPs utilisation, divided by 2 x 16.6B parameters per token.
- Prefill uses 16.6B effective parameters, not the 6.6B 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.
- 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
| Quantization | Resident | Disk | Total needed | Utilisation | Fit | Max context |
|---|---|---|---|---|---|---|
MLX 4-bit | 22.8 GB | 22.8 GB | 25.5 GB | 83% | Fits | 32K |
Q4_K_Mrecommended | 24.4 GB | 24.4 GB | 27.1 GB | 89% | Fits | 16K |
Q5_K_M | 28.6 GB | 28.6 GB | 31.4 GB | 103% | Does not fit | 0 |
Q8_0 | 42.3 GB | 42.3 GB | 45.5 GB | 149% | Does not fit | 0 |
BF16 | 78.0 GB | 78.0 GB | 82.3 GB | 269% | Does not fit | 0 |
Cost of running Phi-3.5 MoE 42B-A6.6B on this machineUnited States (federal) · C corporation · 8h/day
Monthly economic cost
$28
Calculated after tax
Codex/Claude Code
$100/mo
≈ $100/mo · local is $72 less
Net cash at purchase
$2,702
Calculated VAT not reclaimable
Total over 5 years
$1,706
Calculated after tax, after resale
Cost per USD/1M tokens
—
Calculated
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: $2,702 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 1,891 over 5 years, straight-line to a 810 residual | $31.52 |
| Electricity 4.7 kWh/month at 0.140/kWh | $0.66 |
| Cost of capital 4.0%/yr on 1,756 average capital employed | $5.85 |
| Monthly cost before tax | $38.03 |
| Electricity tax shield Running costs are deductible business expenses | −$0.14 |
| First-year expensing §179 (100.0%) | −$9.46 |
| Monthly economic cost after tax | $28.43 |
Three different numbers, deliberately
Cash cost
$2,702
Money that leaves the bank account on day one, net of reclaimable VAT.
Accounting depreciation
$31.52/month
$1,891 written down over 5 years to a $810 residual.
After-tax economic cost
$28.43/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
$810 (30%) Assumption
Extrapolated from the three-year curve.
Electricity
$0.140/kWh Assumption
Average power draw
27 W Calculated
Load 105 W for 20% of powered hours, idle 7 W for the rest — a machine that is on is not generating tokens the whole time.
Investment allowances
§179 100.0% Official spec
Worth $567 in total — first-year expensing that replaces later tax depreciation.
Cost of capital
$5.85/month Assumption
- VAT rate: No US federal VAT · verified 2026-09-07
- Marginal tax rate: IRS Publication 542 — Corporations · verified 2026-09-07
- VAT recoverable fraction: site assumption · verified 2026-09-07
- Useful life: IRS Publication 946 — How To Depreciate Property · verified 2026-09-07
- Electricity price: Site assumption · verified 2026-09-07
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.
Phi-3.5 MoE 42B-A6.6B on other hardware
| Hardware | Decode | Price | Fit |
|---|
Nearest alternatives to the Mac Studio M5 Max 36 GB
Phi-3.5 MoE 42B-A6.6B on Mac Studio M5 Max 64 GB64 GBPhi-3.5 MoE 42B-A6.6B on Mac Studio M5 Max 128 GB128 GBPhi-3.5 MoE 42B-A6.6B on Mac Studio M5 Ultra 96 GB96 GBPhi-3.5 MoE 42B-A6.6B on Mac Studio M5 Ultra 256 GB256 GBPhi-3.5 MoE 42B-A6.6B on Mac Studio M5 Ultra 512 GB512 GB
Compare Mac Studio M5 Max 36 GB against Mac Studio M5 Max 64 GB →
Compare Mac Studio M5 Max 36 GB against Mac Studio M5 Max 64 GB →