Intel Core i7 7800X's Advantages
Larger memory bandwidth (79.47GB/s vs 35.76GB/s)
Higher base frequency (3.5GHz vs 3.0GHz)
Larger L3 cache size (8MB vs 6MB)
Intel Core i5 7400's Advantages
Integrated graphics card
Higher specification of memory (DDR4-2400 vs DDR4-2400)
Lower TDP (65W vs 140W)