Hepatic biomarkers, particularly the ALT/AST ratio, robustly predict diabetes risk in this large cohort, with the TyG index explaining most of this association. Here, GPT is linked to diabetes mellitus.