Intel Core i5 8400 's Advantages
Better graphics card performance
Higher specification of memory (2666 vs 2400)
Larger memory bandwidth (41.6GB/s vs 37.5GB/s)
Larger L3 cache size (9MB vs 2MB)
Intel Celeron G4900 's Advantages
Released 6 months late
Higher base frequency (3.1GHz vs 2.8GHz)
Lower TDP (54W vs 65W)