27-inch iMac (2015) vs 21.5-inch iMac (2015): 27-inch wins for easy RAM upgrades
The 27-inch iMac has a user-accessible RAM door on the back, while the 21.5-inch requires screen removal. Officially it supports 32GB, but some have pushed it to 64GB with third-party modules — worth trying if you need the headroom.