Collectively, we established a prognostic model based on glycosylation-related genes to provide a more comprehensive understanding of prediction for GC prognosis, and identified that GLT8D2 is closely correlated with adverse prognosis and may underscore its role in regulating immune cell infiltration in GC patients. Here, GLT8D2 is linked to gastric cancer.