These results indicated that combination of PD-L1 with pre-excited TILs may be more precise than PD-L1 alone for predicting survival in gastric cancer. Here, CD274 is linked to gastric cancer.