In conclusion, our model including the ratio of CD4+ T resident and exhausted signatures and tumor purity provided a practical and effective way to assess GC patient survival outcomes and might facilitate clinical management. Here, CD4 is linked to gastric cancer.