DC coupling on the input/output will always give higher gain because AC coupling involves inserting a capacitor, which adds impedance and augments the signal. AC coupling is sometimes necessary though, for such purposes as eliminating DC offset on the base of a transistor, or eliminating a DC offset in a single supply opamp circuit.