The habitat radiomics model we developed effectively predicted intratumoral Tim-3 infiltration, providing valuable insights for the evaluation of ICI therapy in HCC patients. Here, HAVCR2 is linked to hepatocellular carcinoma.