Ask HN: Should I buy mac studio M4 max or macbook M5 pro?
A developer working with AI coding agents asks whether to buy a Mac Studio M4 Max or a MacBook M5 Pro for a system that runs continuously day and night, seeking advice on which is more worth the investment.
Background
- The user is choosing between Apple's Mac Studio (a powerful desktop, M4 Max chip) and a MacBook Pro (laptop, M5 Pro chip) for running AI coding agents around the clock.
- "AI coding agents" are software tools that autonomously write, review, or debug code using large language models (LLMs). Running these locally requires sustained high compute power, often maxing out CPU/GPU for hours or days.
- The M4 Max (Mac Studio) offers more GPU cores and unified memory than the M5 Pro (MacBook), making it better for sustained AI workloads. But it's a desktop — no battery, no portability.
- The MacBook Pro (M5 Pro) is portable but can throttle performance under sustained load due to thermal limits and battery drain; running it plugged in 24/7 may degrade battery life faster.
- This trade-off is common for developers: desktop = raw performance + longevity vs. laptop = flexibility + slower speed + potential wear.