These results suggest that the combination of PD-L1 expression and CD8+ T cell infiltration can better predict ICIs response in patients with NSCLC liver metastasis. Here, CD274 is linked to non-small cell lung carcinoma.