Gaming speed, cores and clocks
The Ryzen 9 5900X and the Ryzen AI 9 HX 370 are within a few percent of each other for gaming. In a game, you will not see the difference.
The Ryzen 9 5900X has 12 cores and 24 threads, and the Ryzen AI 9 HX 370 has 12 cores and 24 threads. Core counts are the same, so cache size and clock speed decide the difference. Boost clocks are 4.8 GHz and 5.1 GHz.