What works better?

Hi !

I need a help regarding computer specs. I have to decide between those two (see picture). The thing is that I need this computer only for one project for UE4 and otherwise I am just using stuff like video editing, adobe, C4D, etc… I also don’t play games and the project I am working on is not extremely heavy like bioshock etc. So the question is: what will work better?

i5-6400 with gtx960 and 8gb ram


i7-6700 with gtx745 and 16gb ram

thanks a lot!

The one with best cpu and more ram clearly (except if its a VR project)