GPT and osteoporosis: When the AST/ALT ratio was analyzed as a variable by quartiles, we observed that the risen prevalence of osteopenia/osteoporosis with the high AST/ALT ratio quartile in the unadjusted model, illustrating the gradient in risk between different quartiles (OR compared with Q1: Q2, OR 3.230, 95% CI: 1.839–5.671; Q3, OR 6.530, 95% CI: 3.733–11.421; Q4, OR 32.383, 95% CI: 17.008–61.276).