Last year, Google said that it will roll out monthly security updates to phones and tablets from their respective launch dates, and platform updates for "at least two years." The search giant is for when support will end for each Nexus phone and tablet, including the and :
Device No guaranteed Android version updates after
Nexus 5X September 2017
Nexus 6P September 2017
Nexus 9 October 2016
Nexus 6 October 2016
Nexus 5 October 2015
Nexus 7 (2013) July 2015
Nexus 10 November 2014
The Nexus 6P and 5X will continue to get updated until September 2017, which is when we should we be starting to see Android O. Google has also talked about software updates for phones, stating:
All partners have committed to giving software updates for at least 18 months after the phone's launch. All Android One phones will get at least one major software update and several smaller security updates.