Finally, the nomogram model based on the four factors, cancer type, TMB, treatment type, and PTPRD/PTPRT gene status, indicated a good accuracy in predicting the 1-, 3-, and 5-year survival of pan-cancer patients treated with ICIs. Here, PTPRT is linked to cancer.