Intel Core i5 12400 's Advantages
Newer PCIe version (5.0 vs 4.0)
Larger L3 cache size (18MB vs 16MB)
AMD Ryzen 7 8700G 's Advantages
Released 2 years late
Better graphics card performance
Higher specification of memory (5200 vs 4800)
Larger memory bandwidth (83.2GB/s vs 76.8GB/s)
Higher base frequency (4.3GHz vs 2.5GHz)
More modern manufacturing process (4nm vs 10nm)