SCORPIO is a machine learning system that predicts the efficacy of therapy with immune checkpoint inhibitors in patients with cancer, using only routine blood tests and basic clinical data. Predictions using SCORPIO were more accurate than those using FDA-approved biomarkers such as tumor mutational burden and PD-L1 expression, suggesting that SCORPIO offers a reliable, noninvasive and widely accessible tool to advance precision oncology for patients globally.