Gastric cancer (GC) is prevalent and aggressive, especially when patients have distant lung metastases, which often places patients into advanced stages. By identifying prognostic variables for lung metastasis in GC patients, it may be possible to construct a good prediction model for both overall survival (OS) and the cumulative incidence prediction (CIP) plot of the tumour. To investigate the predictors of GC with lung metastasis (GCLM) to produce nomograms for OS and generate CIP by using cancer-specific survival (CSS) data. Data from January 2000 to December 2020 involving 1652 patients with GCLM were obtained from the Surveillance, epidemiology, and end results program database. The major observational endpoint was OS; hence, patients were separated into training and validation groups. Correlation analysis determined various connections. Univariate and multivariate Cox analyses validated the independent predictive factors. Nomogram distinction and calibration were performed with the time-dependent area under the curve (AUC) and calibration curves. To evaluate the accuracy and clinical usefulness of the nomograms, decision curve analysis (DCA) was performed. The clinical utility of the novel prognostic model was compared to that of the 7th edition of the American Joint Committee on Cancer (AJCC) staging system by utilizing Net Reclassification Improvement (NRI) and Integrated Discrimination Improvement (IDI). Finally, the OS prognostic model and Cox-AJCC risk stratification model modified for the AJCC system were compared. For the purpose of creating the OS nomogram, a CIP plot based on CSS was generated. Cox multivariate regression analysis identified eleven significant prognostic factors (P < 0.05) related to liver metastasis, bone metastasis, primary site, surgery, regional surgery, treatment sequence, chemotherapy, radiotherapy, positive lymph node count, N staging, and time from diagnosis to treatment. It was clear from the DCA (net benefit > 0), time-dependent ROC curve (training/validation set AUC > 0.7), and calibration curve (reliability slope closer to 45 degrees) results that the OS nomogram demonstrated a high level of predictive efficiency. The OS prediction model (New Model AUC = 0.83) also performed much better than the old Cox-AJCC model (AUC difference between the new model and the old model greater than 0) in terms of risk stratification (P < 0.0001) and verification using the IDI and NRI. The OS nomogram for GCLM successfully predicts 1- and 3-year OS. Moreover, this approach can help to appropriately classify patients into high-risk and low-risk groups, thereby guiding treatment.