GPT and diabetes mellitus: In this retrospective cohort study, we established a negative association between the AST/ALT ratio and the risk of diabetes progressing from prediabetes.