A compact gas attenuator for the SwissFEL ATHOS beamline with a custom manifold realized using additive manufacturing is described. First results show that the response is as expected from theoretical calculations.