I sprint a least once on most rides. There are a number of Strava segments along my usual route (some that I created just for me) and I like trying to beat my personal bests.
i also do an interval ride around my neighborhood’s 3/4 mile loop, sprinting as hard as I can and as long as I can in one section and then soft pedaling back around. I generally get 12 sprints for the ride. The fastest I’ve ever hit was 32mph, but not for very long.