In this study, we found that high albumin levels and LMR, and low ALP levels and TB, were significantly associated with better OS in patients treated with pembrolizumab. This evidence concerns the gene ALB and tuberculosis.