I am upgrading from a 2018 MacBook Pro. It has 32 GB and a 2 TB SSD. I could have held out longer, but the kind of work I do on the machine has become much more taxing. The fans scream at me often. I sometimes put earplugs in so that I can focus on my work.

Also, I'm starting to work on things that take a ton of RAM. In case anyone knows about this stuff, I'll be working with multiple Kubernetes clusters and other Docker containers not running in the clusters. I certainly will be explicitly allocating (at times, but rarely) 32 GB across all the containers.
I ordered the the M2 Max with 64 GB and 2 TB SSD. After Apple Care and tax, my bill was $5000; it took my breath away. Unfortunately, I'm self-employed, so I had to pay that all by myself. I almost feel that I didn't have a choice to not buy it. I don't know if I should have gotten the 96 GB, but I'm taking a gamble to save some money. 4 to 5 years is my usual time frame for upgrading. (I went from a 2013 MacBook Pro to a 2018 one, and now a 2023 one.) I do have a Windows machine. Running clusters on two separate physical machines could add some useful complexity to uncover issues. And, I really like Windows 11 (the UI much less than MacOS's) and WSL. Also, I should try to stay competent in the 3 major operating systems.
I did try once to get a deal advertised on Amazon for the M1, but they didn't offer 2 TB. My backup strategy would be much more complex if I couldn't keep everything on my main disk. My content now is at 753 GB. It doesn't seem to be growing very fast, but that could change.
At this point, I'm glad I waited. It could be that Apple's video announcement is a gross exaggeration. But, if not, I should expect significantly better performance from the M2 over the M1. The video explicitly mentions code compilation being 25% faster on the M2 Pro compared to the M1 Pro. That would cut down a 10 minute compile to a 7.5 minute one (my build is multi-threaded). I guess it's subjective what "minor" means, but if I'm the subject, that difference is major. I'm not sure my work will benefit that much getting M2 Max over the M2 Pro (the video announcement only shows Max improvement figures for content editing, so I guess the main improvements are GPU related). But, I had to get the Max to get 64 GB.
My only real qualms relate to this purchase being a further commitment to the Apple ecosystem. I've been so disappointed in the number of software related bugs in all of Apple products that I've been considering moving completely to Linux for my main computer (I'd keep my watch, phone, HomePod's, and Apple TVs). I enjoy Linux so much more than BSD. And Apple's support for their end users' use of the shell is pathetic (e.g. the man pages are always lacking or just missing). And, Linux is a better fit for the kind of work I've staring doing. But, I'd so sorely miss DEVONthink, DEVONAgent, Omni Group apps, and other wonderful tools. MacOS software can be fantastic, just not the stuff written by Apple. I guess keeping my current MacBook Pro running next to my development machine could work, but it would be a bit awkward.
Boy, I did run on quite a bit about stuff no one cares about.

Any thoughts on 96 GB versus 64 GB from any of you developers or anyone else? I guess 64 GB is more than 64 GB due to memory compression. And, swapping to the SSD is not going to kill me. I would love some input. No one can answer what is the right choice, but different perspectives would help me.