In our study, we investigated the correlation between serum IFN-γ and IL-5 levels and the clinical response to anti-PD-1 mAbs in NSCLC and GC patients. Here, IFNG is linked to non-small cell lung carcinoma.