A utility patent for an AI invention can last up to 20 years after the date of application. Maintenance fees must be paid 3.5, 7.5, and 11.5 years after the issue date or the patent rights will expire.