As a new index, the specific mechanism by which the ALT/HDL-C ratio leads to diabetes remains unclear. Here, GPT is linked to diabetes mellitus.