4 GB 😉
More RAM can let more apps run in the background without slowing your phone down. In my opinion, at this moment, 12GB is overkill for Android. Having more RAM just looks great on spec sheet, so company can charge more for the phone. But RAM is cheap.