Best model for 12-month progression-free survival for anti-PD-1 monotherapy included PD-L1+ cells within proximity to tumor cells and intratumoral CD8+ density (AUC = 0.80), and for combination therapy included CD8+ cells in proximity to tumor cells, intratumoral PD-L1+ density and LDH (AUC = 0.85). Here, CD8A is linked to neoplasm.