Purpose To establish mortality prediction models in 14 days of Carbapenem-Resistant Klebsiella Pneumoniae bacteremia using Machine learning.Materials and Methods It is a single-center retrospective study. We collect the relevant clinical information of all patients with Carbapenem-Resistant Klebsiella Pneumoniae (CRKP) bacteremia in the past 5 years using the local database. Data analysis and verification are carried out by multiple logical regression, decision tree, random forest, support vector machine (SVM), and XGBoost.Result This study includes 187 patients with 40 related variables. In multiple logical regression, acute renal injury (P=0.003), Apache II score (P=0.036), immunodeficiency (P=0.025), severe thrombocytopenia (P=0.025) and septic shock (P=0.044) are the high-risk factors for 14 days mortality of CRKP bloodstream infections. According to the importance of those parameters, risk scoring is established to predict the survival rate of CRKP bacteremia. The analysis of the five models, with 70% training set and 30% test set, show the comprehensive performance of random forest (AUROC=0.953, precision=91.85%) is slightly better than that of XGBoost (AUROC=0.912, precision=86.41%) and SVM (AUROC=0.936, precision=79.89%) in predicting 14-day mortality of CRKP bacteremia. The multiple logical regression model (AUROC=0.825, precision=81.52%) is the second, and the decision tree model (AUROC=0.712, precision=79.89%) is not very ideal.Conclusion Machine learning has good performances in predicting 14-day mortality of CRKP bacteremia than multiple logical regression. Acute renal injury, severe thrombocytopenia, and septic shock are the high-risk factors of CRKP bacteremia mortality.