Herein, we found that regulating NAD levels by targeting NAMPT in gastric cancer cells could alter ATP and extracellular adenosine levels, hence improving the antitumor function of CD8+ T cells in the tumor microenvironment. This evidence concerns the gene CD8A and neoplasm.