Based on serum metabolomics, this study identified six biomarkers for assisting in the diagnosis of patients with PCa and BPH in the PSA grey area and utilized them to construct a diagnostic model. The gene discussed is KLK3; the disease is benign prostatic hyperplasia.