These genes were CD81, CFH, FABP5, GBP1, GNG11, IL1RL1, and SLAMF6. The calibration curve, decision curve, clinical impact curve, and receiver operating characteristic curve showed that the nomogram recognized GDM with high accuracy in both the training and validation sets. This evidence concerns the gene SLAMF6 and gestational diabetes.