One assumes same as the rest 7 years after Apple ceases to sell that model...
Vintage and obsolete products
Owners of iPhone, iPad, iPod, or Mac products may obtain service and parts from Apple or Apple service providers for 5 years after the product is no longer sold—or longer, where required by law. Apple has discontinued support for certain technologically obsolete products.
Vintage products are those that have not been sold for more than 5 and less than 7 years ago. Mac, iPhone, iPad, iPod, and Apple TV vintage products continue to receive hardware service from Apple service providers, including Apple Retail Stores, subject to availability of inventory, or as required by law.
Obsolete products are those whose sales were discontinued more than 7 years ago. Monster-branded Beats products are considered obsolete regardless of when they were purchased. Apple has discontinued all hardware service for obsolete products, with no exceptions. Service providers cannot order parts for obsolete products.
Q-6