Curious to know, what kind of AI services does the consulting company provide? I don't think OP has mentioned startup here - so my take is stay in consulting role because you're still young and you'll get to learn a lot of vital, transferable skills. And client facing roles are some of the best environments to learn these. In another 5 years you can move up to a Senior/Principal consultant level, maybe engagement manager/director too. After that you can make a switch to org side, you'll command a greater premium on your compensation negotiation as well