The ratios of inflammatory cells CD4/CD8, and CD138/CD3 in ICIs-related hepatitis were significantly lower than those in AIH or DILI patients (p < 0.05). Here, CD8A is linked to autoimmune hepatitis.