In summary, our study demonstrates that RT is associated with a significant survival benefit in HER2-positive breast cancer patients with pulmonary metastases and underscores the potential of AI-based prognostic models to support more individualized and effective treatment strategies. This evidence concerns the gene ERBB2 and breast cancer.