7900x/4090 vs 7950x/4080 for medium sized 4k environments

Im building my new PC and am torn between these two configurations; a 7900x paired with a 4090, or a 7950x paired with a 4080. My expereince is that Unreal can be very CPU heavy at times (when compilling stuff), but obviously the GPU manages loads of stuff too, especially when rendering. Im not making enormous environments, but they arent tiny either. And ill be rendering in 4k. Will the better CPU and 4080 be sufficient for me, or should I seriously be considering the 4090? (id rather get the 4080 option since id be really stretching the budget with the 4090)