Mac Studio for Local AI: Which M5 Max or M5 Ultra Should You Buy?

Which M5 Max or M5 Ultra Mac Studio is best for local AI? We compare memory, realistic LLM capacity, image and video generation, pricing, and the 512GB model arriving in October.