Anything around 2-3 hours. I always have a gel in my back pocket in case I start bonking (I get low blood sugar dizzyness more than a full bonk), but hardly ever use it if the ride is under 3 hours.
I never use a sports drink unless it is a metric or longer. Just prefer water.