AMD Ryzen 7 5700G 's Advantages
Integrated graphics card
AMD Ryzen 5 8400F 's Advantages
Released 3 years and 1 months late
Higher specification of memory (5200 vs 3200)
Larger memory bandwidth (83.2GB/s vs 51.2GB/s)
Newer PCIe version (4.0 vs 3.0)
Higher base frequency (4.2GHz vs 3.8GHz)
More modern manufacturing process (4nm vs 7nm)