Ultimately, inline-6 engine is more efficient yet smoother. V6 has more energy loss because it duplicates valve gears and camshafts (which increase frictional loss), while the use of 2 cylinder banks leads to more heat loss. In terms of production cost, although V6 has 3 fewer main bearings, it has more valve gears - which is getting more and more costly these days, with the introduction of twin-cam, hydraulic tappets / finger follower and variable valve timing. Inline-6 is going to be cheaper than equivalent V6.