The Gallimimus was a herbivore, meaning it primarily fed on plants. It had a specialized beak that allowed it to pluck leaves, berries, and other vegetation. Its teethless jaws suggest that it may have also used gastroliths (stones) to aid in digestion.