AMD Ryzen 5 7500F 's Advantages
Newer PCIe version (5 vs 4.0)
Higher base frequency (3.7GHz vs 3.5GHz)
Larger L3 cache size (32MB vs 16MB)
AMD Ryzen 5 8500G 's Advantages
Released 6 months late
Integrated graphics card
More modern manufacturing process (4nm vs 5nm)