VAP cases exhibited higher TNF-α levels and metabolic profiles indicative of anaerobic adaptation, while IL-1β elevations were primarily linked to mechanical ventilation rather than infection. Here, IL1B is linked to ventilator-associated pneumonia.