Clinical prediction models for deep sternal wound infections (DSWI) after coronary artery bypass graft (CABG) surgery exist, although they have a poor impact in external validation studies. We developed and validated a new predictive model for 30-day DSWI after CABG (REPINF) and compared it with the Society of Thoracic Surgeons model (STS). The REPINF model was created through a multicenter cohort of adults undergoing CABG surgery (REPLICCAR II Study) database, using least absolute shrinkage and selection operator (LASSO) logistic regression, internally and externally validated comparing discrimination, calibration in-the-large (CL), net reclassification improvement (NRI) and integrated discrimination improvement (IDI), trained between the new model and the STS PredDeep, a validated model for DSWI after cardiac surgery. In the validation data, c-index = 0.83 (95% CI 0.72–0.95). Compared to the STS PredDeep, predictions improved by 6.5% (IDI). However, both STS and REPINF had limited calibration. Different populations require independent scoring systems to achieve the best predictive effect. As the STS, the REPINF external validation across multiple centers it’s important to guide healthcare professionals as a quality improvement tool in the prevention of DSWI after CABG surgery.