There are 3 versions.
Xbox One: 1080p, poopy garbage but only like a hundred bucks on craigslist
Xbox One S: Upscales to 4k through anti-aliasing mumbo jumbo - basically fake 4k. Same'ish dated hardware so expect 30fps at best.
Xbox One X: Higher horsepower, true 4k, 60fps (claimed), but $500