Is ROG phone 5s pro is good?

I found the ROG phone 5s with 12gb ram and 256 full set for 283 dollars should I buy it or the 5s pro with 18 gb ram and 512gb rom for 416 dollar I'm on a budget my current phone is Infinix note 40 a mid phone