The nomogram models effectively predict irAEs in NPC patients treated with PD-L1 inhibitors. Here, CD274 is linked to nasopharyngeal carcinoma.