According to the logistic regression analysis, each unit elevation in AIP increased the risk of GDM by 18.48 times (OR = 18.48, CI: 2.38–143.22). Here, AIP is linked to gestational diabetes.