Sulfonylureas are metabolized in the liver and excreted through the urine, while glinides undergo liver metabolism and are eliminated via fecal excretion. Glinides have a shorter half-life compared to sulfonylureas, which can be beneficial for patients who need to adjust their dosage based on their meal schedules.