I thought this, and ~4 months ago ordered a M5 Mac Studio with 128 GB RAM. I've been experimenting quite a lot with local open weight models, including but not limited to DeepSeek V4 Flash, V4.1 Flash (the latest one), various Qwens, and a couple of others.
What I'm seeing is that although some open models are capable enough for some coding work, they're way behind Codex and Claude even on being able to reliably complete tasks. They need quite a lot more managing and steering, and sometimes you need to retry a prompt several times to get the result you're looking for.
That's not to say they're not useful - far from it. But what I'm also seeing over the couple of months I've been experimenting is there actually seems to be a capabilities ceiling that's not really going higher for the same equivalent (local) compute, even as new open weights models are released. I think Qwen 4's delay is a signal here too.