Molecular subtyping combined with PD-L1 expression could serve as a potential strategy to better predict prognosis and guide postoperative chemotherapy of GC patients. Here, CD274 is linked to gastric cancer.