I will buy i5 versionThere were several Surface Pro 4 models, with different CPU options. I suppose, the cheapest one with Core m3 won't do it (and I am not even sure it's DP port supports 4k).
https://support.microsoft.com/en-us/help/4023446/surface-pro-4-features