Our results suggest that m6A RNA methylation modulators may affect the prognosis through PD-L1 and immune cell infiltration in HCC patients. Here, CD274 is linked to hepatocellular carcinoma.