If the timing feels right, that will be your gauge. The host could make a welcome toast [for the occasion] before dinner, and then before the cake a personalized toast to honor the birthday guest. Possibly several people would like to make a toast, in which case it would be appropriate before the cake.
