Conclusions: We found that gradient indicators of CD8+ cell densities across the tumor epithelium–stroma interface, along with routine clinical and pathology data, improve the prediction of RFS in NMIPUC. Here, CD8A is linked to neoplasm.