The risk model that consisted of ANLN, ENTPD2, TRIP13, PLAC8, G6PD, and ADH1C was effective and stable to predict HCC patients' prognosis according to internal and external validations. This evidence concerns the gene G6PD and hepatocellular carcinoma.