In this study, we developed and validated a metabolic habitat model that can assess the PD-L1 expression status of LA-NSCLC by characterizing the spatial metabolic heterogeneity of tumors based on 18F-FDG PET/CT images. The gene discussed is CD274; the disease is non-small cell lung carcinoma.