M1 Mac RAM and storage can be upgraded after purchase, but it's not easy - 9to5Mac
Apple MacBook Air 11.6-inch Core i5 1.6GHz 4GB RAM 128GB SSD Storage E
Samsung ram Memory Upgrade DDR3 PC3 12800, 1600MHz, 204 PIN, SODIMM for 2012 Apple MacBook Pro's, 2012 iMac's, and 2011/2012 Mac Mini's (16GB kit (2 x 8GB)) at Amazon.com
How to clear RAM on Mac? 10 ways to reduce memory usage
Is 16 GB of RAM in the new Macbook Pro Enough?
Upgrading RAM in Your MacBook Pro 13" or 15" : 19 Steps (with Pictures) - Instructables
2012 Apple MacBook Pro Core i7 2.5GHz i5 MD101LL/A