This study aimed to investigate differences in IRAEs between patients with advanced solid malignances treated with PD-L1 and PD-1 inhibitors in a real-world setting. Here, CD274 is linked to cancer.