Nice article from Macworld on this topic.
"Even relatively casual users who load up on browser tabs and inefficient
Electron apps (household names like Slack, Teams, Discord, etc.) can find performance compromised by running out of RAM."
"To be clear, 8GB of LPDDR5-6400 (the RAM used in these products) costs Apple a tiny fraction of that amount. Nobody knows precisely what Apple pays its suppliers, but the going price for 64Gbits (8GB) of that sort of RAM is less than $40 in quantity. Apple’s deal likely has them paying $30 or less.
There’s nothing special about Apple’s RAM. It’s high quality, and it’s integrated on a very wide memory bus very close to the M3 chip, but those manufacturing complexities don’t make the RAM cost more. Apple’s charging you $200 for RAM it buys for $30."
"Here’s a fun experiment: Configure a MacBook Pro with the M3 Max, the full 16-core CPU version. Every additional 16GB of RAM costs $200, the same as 8GB of RAM on the lower configurations."