Phone is broke, I am broke, will an HTC One suffice for the next 2 years?

My nexus 4 kicked the bucket. I can get an HTC one from att for free online. Will this last through 2 years of innovation so late in its life, or am I underestimating it? I don't necessarily need the best of the best, although I am worried about the allegedly awful camera having suffered the Nexus's for so long.

Any advice is welcomed.