This study investigated the relationship between mediastinal fat and pulmonary nodule status, aiming to develop a deep learning-based radiomics model for diagnosing benign and malignant pulmonary nodules. We proposed a combined model using CT images of both pulmonary nodules and the fat around the chest (mediastinal fat). Patients from three centers were divided into training, validation, internal testing, and external testing sets. Quantitative radiomics and deep learning features from CT images served as predictive factors. A logistic regression model was used to combine data from both pulmonary nodules and mediastinal adipose regions, and personalized nomograms were created to evaluate the predictive performance. The model incorporating mediastinal fat outperformed the nodule-only model, with C-indexes of 0.917 (training), 0.903 (internal testing), 0.942 (external testing set 1), and 0.880 (external testing set 2). The inclusion of mediastinal fat significantly improved predictive performance (NRI = 0.243,