I'm not sure where you live, what carrier you're on, or what OS you prefer, but the HTC One X is a fantastic phone. It has a higher resolution and a larger screen than the iPhone 5, although I can't say that the HTC will beat it graphically at this point. Next month HTC should be revealing a new phablet in the states that will have a 1080p screen, as rumor has it. Also coming out is the HTC One X+, which is basically the same as the One X, but with an upgraded processor. If you prefer Window's phones, then you might wait it out for the HTC 8X (or HTC Accord, not sure which name they're using).
I will prefer the iPhone 5 because this phone comes with great features such as long battery life, huge touch screen, brilliant design, simple to use, very large internal memory storage, an excellent camera quality, fast processor, ETC. which are much better than others. It runs on the IOS operating system.