This meta‐analysis systematically evaluated the efficacy of PD‐1 and PD‐L1 inhibitors for the treatment of advanced non‐small cell lung cancer (NSCLC) and investigated the efficacy of first‐line therapy and PD‐1 versus PD‐L1 inhibitors. Here, CD274 is linked to lung cancer.