In the present study, the clinical characteristics and risk factors of NPC patients treated with anti-PD-1/PD-L1 were described, and the prognostic model of NPC patients was constructed to provide a theoretical basis for predicting the curative effect. This evidence concerns the gene CD274 and nasopharyngeal carcinoma.