9532 Background: Immune checkpoint inhibition (ICI) has greatly improved the prognosis for advanced melanoma in the last decade. However, it is still difficult to predict who will benefit from treatment. We aimed to develop a multivariable prediction model for response to ICI, using clinical data including primary melanoma characteristics. Methods: We used a population-based cohort of 3525 patients with advanced cutaneous melanoma treated with anti-PD-1-based therapy, originating from the Dutch Melanoma Treatment Registry. The endpoint of the study was objective response to ICI within 6 months after treatment initiation. The model considered 15 candidate predictor variables, was developed with logistic regression using Akaike information criterion-informed backward selection, and was internally validated with bootstrap resampling. Performance evaluation included calibration and discrimination. We used multiple imputation to account for missing data. Results: Patients received anti-PD-1 monotherapy (n = 2366) or ipilimumab plus nivolumab (n = 1159) in any treatment line. Median follow-up time was 15 months and 1311 patients (39%) had an objective response within 6 months. The prediction model for response included sex, serum lactate dehydrogenase, World Health Organization performance score, type of systemic therapy, line of systemic therapy, stage of disease, location of primary melanoma, type of primary melanoma, satellites and/or in transit metastases at time of primary diagnosis, and time to first distant recurrence. The model was well-calibrated. The AUC was 0.664 (95% confidence interval [CI] 0.645-0.682), and the over-optimism adjusted AUC was 0.649 (95% CI 0.631-0.667). The range of predicted response probabilities was 6-78%. Based on these probabilities, patients were categorized into quartiles. The median predicted response probability was 25% (interquartile range [IQR] 21-28%) for the lowest quartile and 54% (IQR 50-59%) for the highest quartile. Compared to the lowest response quartile, patients in the highest quartile had a significant longer median PFS (19.9 versus 2.8 months; p < 0.001) and median OS (66.5 versus 8.4 months; p < 0.001). Conclusions: We present a model based on both clinical variables and primary melanoma characteristics capable of predicting response to ICI in patients with advanced melanoma. This model can discriminate between patients with a very good and very poor prognosis.