NSCLC patients with KRAS mutations had a better anti-PD-1 therapy efficacy and a longer PFS and OS. Here, PDCD1 is linked to non-small cell lung carcinoma.