Machines are only Carnot efficient if they are reversible, but then their power output is vanishingly small. Here we ask, what is the maximum efficiency of an irreversible device with finite power output? We use a nonlinear scattering theory to answer this question for thermoelectric quantum systems, heat engines or refrigerators consisting of nanostructures or molecules that exhibit a Peltier ...