We developed a prediction model for PD-L1 inhibitor response in HCC, an important issue in cancer immunotherapy. Here, CD274 is linked to cancer.