Pyroptosis is a programmed cell death, which has garnered increasing attention because it relates to the immune and therapy response. However, few studies focus on the application of pyroptosis-related genes (PRGs) in predicting osteosarcoma (OS) patients’ prognoses. In this study, the gene expression and clinical information of OS patients were downloaded from the Therapeutically Applicable Research to Generate Effective Treatments (TARGET) database. Based on these PRGs and unsupervised clustering analysis, all OS samples can be classified into 2 clusters. The 8 key differential expressions for PRGs (LAG3, ITGAM, CCL2, TLR4, IL2RA, PTPRC, FCGR2B, and CD5) were established through the univariate Cox regression and utilized to calculate the risk score of all samples. According to the 8-gene signature, OS samples can be divided into high and low-risk groups and correlation analysis can be performed using immune cell infiltration and immune checkpoints. Finally, we developed a nomogram to improve the PRG-predictive model in clinical application. We verified the predictive performance using receiver operating characteristic (ROC) and calibration curves. There were significant differences in survival, immune cell infiltration and immune checkpoints between the low and high-risk groups. A nomogram was developed with clinical indicators and the risk scores were effective in predicting the prognosis of patients with OS. In this study, a prognostic model was constructed based on 8 PRGs were proved to be independent prognostic factors of OS and associated with tumor immune microenvironment. These 8 prognostic genes were involved in OS development and may serve as new targets for developing therapeutic drugs.