Thiamine is compatible with D5w, which is a sterile solution of dextrose and water. Thiamine can be added to D5w, but it should be monitored closely to ensure that the thiamine is not being administered in excessive amounts.