Subgroup analysis showed that ICIs provide statistically significant OS benefits over chemotherapy in PD-L1-positive, squamous cell carcinoma, Asia origin, esophageal cancer, second-line treatment, male, and aged 65 or older patients. Here, CD274 is linked to squamous cell carcinoma.