Surgery and radiotherapy are primary nonconservative treatments for prostate cancer (PCa). However, personalizing treatment options between these treatment modalities is challenging due to unclear criteria. We developed an artificial intelligence (AI)-based model that can identify patients with localized PCa who would benefit more from either radiotherapy or surgery, thereby providing personalized clinical decision-making.