Gaming speed, cores and clocks
On our gaming index the Core i7-11700K scores 57 and the Core i5-12400F scores 55, about 4% faster for gaming. That gap is small and mostly shows up at 1080p with a very fast graphics card.
The Core i7-11700K has 8 cores and 16 threads, and the Core i5-12400F has 6 cores and 12 threads. The extra cores of the Core i7-11700K help with video editing, streaming while you play and heavy multitasking more than with the game itself. Boost clocks are 5 GHz and 4.4 GHz.