Utilizing bioinformatics and machine learning techniques, we developed a diagnostic model for GC, identified key driver genes, and determined CHI3L1 as the central driver gene in the transformation. Here, CHI3L1 is linked to gastric cancer.