Gaming speed, cores and clocks
The Intel Pentium G4560 and the Core i5-4500K are within a few percent of each other for gaming. In a game, you will not see the difference.
The Intel Pentium G4560 has 2 cores and 4 threads, and the Core i5-4500K has 4 cores and 4 threads. The extra cores of the Core i5-4500K help with video editing, streaming while you play and heavy multitasking more than with the game itself. Boost clocks are 3.5 GHz and 3.7 GHz.