These results suggested that TNF and IL-8 might serve as prognostic biomarkers for the PFS time of patients with advanced-stage lung cancer treated with ICI. This evidence concerns the gene TNF and lung carcinoma.