Different mechanical configurations of diesel engines, when powered by biogas, can influence engine performance and efficiency. Consequently, this study aims to evaluate various generator engines to determine the optimal configuration for a distributed generation unit at a swine farm. In this study, we assess the biogas consumption, specific consumption, and efficiency of five biogas generator engines. Three engines (A, D, and E) were provided by Biogás Motores Estacionários, while the remaining two (B and C) were provided by Electro Hager models and MWM, respectively. The biogas used was produced in plug flow biodigesters (piston flow) by the treatment of swine waste. Engine A, provided by Biogás Motores Estacionários, exhibited specific consumption at a power of 30 kW (low load) similar to engines B and C. However, engines B and C displayed higher efficiencies at high loads compared to engines A, D, and E, attributed to their advanced fuel injection and control systems.