ICI-related diabetes was primarily caused by PD-1 or PDL1 antibodies and was rarely caused by CTLA4 antibodies. This evidence concerns the gene CD274 and diabetes mellitus.