High TMB and PD‐L1 expression was independently associated with significantly poor prognosis (P = 0.025, P = 0.045, respectively) while there was no association between CD4+/CD8+ TILs and prognosis in EGFR or HER2 mutant NSCLC. This evidence concerns the gene CD274 and non-small cell lung carcinoma.