Collectively, these results suggest the outstanding performance of our metabolite classifier in diagnosing small-size, early-stage, and AFP(−) T2DM(+) HCC, implying the critical value of this classifier in the early diagnosis of T2DM(+) HCC. The gene discussed is AFP; the disease is hepatocellular carcinoma.