The model revealed that male sex, older age, higher EGFR, and lower albumin were key factors in determining the 5-year all-cause mortality of T2D patients, which were consistent with risk factors reported in previous studies [23–26]. Here, ALB is linked to type 2 diabetes mellitus.