Serum IL-1β, IL-4, IL-6, IL-10, GM-CSF, TNF-ɑ, and sPD-L1 had a significant sex-related predictive impact on ORR, PFS and OS in melanoma and NSCLC patients treated with ICIs. Here, SPDL1 is linked to non-small cell lung carcinoma.