Anything down to the xr is supported with iOS 17 now even after that support ends the older models still get security updates for years to come so they are still useful for a few years after but I would go with a 12-15
Anything down to the xr is supported with iOS 17 now even after that support ends the older models still get security updates for years to come so they are still useful for a few years after but I would go with a 12-15