Gaming speed, cores and clocks
The Core i5-12600 and the Core i5-14400F are within a few percent of each other for gaming. In a game, you will not see the difference.
The Core i5-12600 has 6 cores and 12 threads, and the Core i5-14400F has 10 cores and 16 threads. The extra cores of the Core i5-14400F help with video editing, streaming while you play and heavy multitasking more than with the game itself. Boost clocks are 4.8 GHz and 4.7 GHz.