Participants with higher AIP levels demonstrated a significantly elevated risk of prediabetes (OR = 1.52, 95% CI: 1.33–1.74) and T2DM (OR = 2.28, 95% CI: 1.92–2.71) compared to those with lower AIP levels. This evidence concerns the gene AIP and type 2 diabetes mellitus.