We identified three molecule subtypes, ten CD4+ MTRGs, and generated a prognostic nomogram that reliably predicts OS in GC. Here, CD4 is linked to gastric cancer.