Which phone configuration is better?
Enough amount of ram but your first priority must be processor, GPU and chipset .
Of course, Ram should be good for seamless performance .
Go with always snapdragon SOC, for good performance and gaming..
Hope that helps..

My devices:
Moto g
Redmi note 3
One plus 3