What makes a high-end phone?

I have my own philosophies on what makes a phone high-end, but what does everyone else think.

The HTC One and S4 are on different ends of the build quality spectrum, but both are considered high-end. The iPhone is low in specs, but is considered high-end. So, what makes a phone high-end?