In NSCLC patients with liver metastases, PD-L1 expression and CD8+ T cell infiltration can predict the response of PD-1/PD-L1-directed immunotherapy. Here, CD8A is linked to non-small cell lung carcinoma.