Additionally, we compared six models to determine the best one for diagnosing GC using RNF180 and SFRP2. This study provides valuable insights for improving the screening and diagnosis of GC. Here, SFRP2 is linked to gastric cancer.