In conclusion, our study provides new insights into the expression patterns and potential roles of GZMK, TREM2, and OR4D10 in pan-cancer, with a particular focus on thyroid cancer. Here, GZMK is linked to thyroid cancer.