Buffalo posted its second straight win and just its 12th of the campaign, second fewest in the Eastern Conference.
Buffalo overcame a 2-0 deficit and took a 4-3 advantage early in the third period on the second goal of the game from Christian Ehrhoff. Nazek Kadri tied it for Toronto on the power play with 13:27 to go in regulation.
Miller had 30 saves in the victory. Reimer stopped 32 shots.
Jordana Brewster on Paul Walker: 'He was an enormous presence in my life'
Beyonce flaunts bikini body, Blue Ivy in vacation pics