[quotemsg=20753297,0,1779035]Both will give you the same performance and run 2400 memory.
I would just get the lower priced for the processor your using.
I would look at the i3 8100 paired with a budget Z370 board. It will give you better performance, faster clock speed, still 4 cores, and will allow you to use faster memory than 2400.
The i3 8100 also cost less.
http://cpu.userbenchmark.com/Compare/Intel-Core-i5-7400-vs-Intel-Core-i3-8100/3886vs3942[/quotemsg]