The Ryzen 7 3800X is an 8-core processor supporting 16 threads at a time, 3.9 GHz at the base and 4.5 GHz at Boost mode. It has 512 kB L1 cache (each core 32 kB data and 32 kB instruction L1), 4 MB L2 cache and a total of 32 MB L3 cache. Its TDP is 95 W, or 105 W (lower value is generally given, but AMD pages present higher).
As for the APU Ryzen 7 4700G, here this CPU with integrated graphics chip Vega 8 reaches only 65 W with TDP, which is a very nice result due to comparable performance. The basic basis of this processor is lower than 3.6 GHz, however, Boost reaches almost the same 4.45 GHz (only by 50 MHz, ie about 1%, less). The Ryzen 7 4700G also has a total of 512 kB L1 cache and 4 MB L2 cache, but compared to the Ryzen 7 3800X it differs in the size of the L3 cache, which has only 2 × 4 GB (8 MB in total).