BACKGROUND: Preoperative and noninvasive detection of isocitrate dehydrogenase (IDH) and telomerase reverse transcriptase gene promoter (TERTp) mutations in glioma is critical for prognosis and treatment planning. This study aims to develop deep learning classifiers to identify IDH and TERTp mutations using proton magnetic resonance spectroscopy ( METHODS: This study included RESULTS: The ADSN model was the most effective for IDH mutation detection, achieving F1-scores of 93 % on the validation set and 88 % on the test set. For TERTp mutation detection, the ADSN model achieved F1-scores of 80 % in the validation set and 81 % in the test set, whereas TERTp-only gliomas were detected with F1-scores of 88 % in the validation set and 86 % in the test set using the same architecture. CONCLUSION: Deep learning models accurately predicted the IDH and TERTp mutational subgroups of hemispheric diffuse gliomas by extracting relevant information from