AMD Ryzen 5 8400F 's Advantages
Lower TDP (65W vs 120W)
AMD Ryzen 7 9800X3D 's Advantages
Integrated graphics card
Higher specification of memory (5600 vs 5200)
Newer PCIe version (5.0 vs 4.0)
Higher base frequency (4.7GHz vs 4.2GHz)
Larger L3 cache size (96MB vs 16MB)