Our analysis identified a robust prognostic model, with four AhR-related genes (MAP2K1, PRKACB, KLF5, and PIK3R2) emerging as key contributors to melanoma progression. Here, PIK3R2 is linked to melanoma.