Mac Studio M2 Max (64GB) as a private coding assistant
A freelancer working on client code ran a fully local stack for 3 months: Ollama + Qwen2.5-Coder-32B via Continue.dev, with Open WebUI for longer chats.
Hardware
| Item | Approx. price (as of 2026-11-30) | Buy |
|---|---|---|
| On sale −20% Apple Mac Studio M5 Max (18C CPU/32C GPU, 36GB, 512GB) - MHL64LL/A (Micro Center, related current offer) | $1,999.99 | Check price at Micro Center → |
| On sale −14% Apple Mac Studio M5 Max (18C CPU/32C GPU, 36GB, 1TB) - Z1U4000E5 (Micro Center, related current offer) | $2,399.99 | Check price at Micro Center → |
| On sale −12% Apple Mac Studio M5 Max (18C CPU/40C GPU, 48GB, 1TB) - Z1U4000E9 (Micro Center, related current offer) | $2,999.99 | Check price at Micro Center → |
| On sale −2% Apple Mac Studio M5 Max (18C CPU/32C GPU, 36GB, 512GB) (Amazon, related current offer) | $2,449.00 | Check price at Amazon → |
| Apple Mac Studio (M2 Max, 64GB RAM) | Not stated in source | Check price → |
| Apple Mac Studio M5 Max (18C CPU/40C GPU, 128GB, 2TB) - Z1U4000F2 (Micro Center, related current price) | $5,899.99 | Check price at Micro Center → |
Shop at Micro Center → Shop at Newegg → Shop at Velocity Micro →
Rent a GPU server instead
Not ready to buy the hardware? You can rent a GPU server (monthly, or by the hour for a quick test) and run the same stack (Ollama, Open WebUI, vLLM) on it. It's still your own server, not a shared AI API, but it sits in the provider's data center, so check your client-data rules first.
| Plan | Price (checked 2026-11-06) | Buy |
|---|---|---|
| On sale Advanced Dedicated GPU Server - RTX A5000 (24GB) (Database Mart) RTX A5000 24GB GDDR6, 2x 12-core E5-2697v2, 128GB RAM, 240GB SSD + 2TB SSD, USA | $174.50/mo | Check price at Database Mart → |
Heads up: "Check price" links may be affiliate links. We may earn a commission at no extra cost to you.
Source prices are as stated by the source. Retailer offers: prices checked 2026-11-29, may change. Some links may be affiliate links; we may earn a commission at no extra cost to you. This never changes what we list.
Software stack
- Ollama
- Continue.dev (VS Code)
- Open WebUI
Models used
- Qwen2.5-Coder-32B-Instruct (Q4_K_M, ~19GB)
Good at
- Inline autocomplete 'indistinguishable from Copilot for 80% of use cases' (200-400ms latency)
- Single-file refactors
- Documentation generation
Weak at
- Multi-file reasoning: 'Qwen loses the plot after file 2'
- Quality degrades past ~30K context
Rough total cost
Hardware price not stated in source. Author says 64GB RAM / 32B models is 'the sweet spot'.
Getting started
- Install Ollama on the Mac.
- Pull a coder model: ollama pull qwen2.5-coder:32b
- Install the Continue extension in VS Code and select Ollama as provider.
- Optionally run Open WebUI for longer chat sessions.
- Keep a cloud model for hard multi-file work if policy allows (the author's hybrid approach).
Source & credit
Reddit post: 'Ran Ollama + Qwen2.5-Coder as my daily coding agent' — r/LocalLLaMA
Summarized from the source; quotes are the source author's words. Check the original before buying.