AMD Ryzen 9 7900X 's Advantages
Integrated graphics card
Newer PCIe version (5.0 vs 4.0)
Higher base frequency (4.7GHz vs 4.2GHz)
Larger L3 cache size (64MB vs 16MB)
AMD Ryzen 5 8400F 's Advantages
Released 1 years and 8 months late
More modern manufacturing process (4nm vs 5nm)
Lower TDP (65W vs 170W)