"Those (3-pointers) are what we feared for so many years (when Allen was with Boston)," Spoelstra said. "He can turn a game around just like that."
Toronto is the third team with multiple losses to the Heat during the streak. Miami has beaten Philadelphia three times and Atlanta twice.
"You talk about a well-oiled machine, those guys are efficient both offensively and defensively," Raptors coach Dwane Casey said. "They do it in a classy way. They are well put together."
Rudy Gay scored 27 and Amir Johnson had 18 points and 18 rebounds as the Raptors lost their 11th straight against Miami, extending their longest active losing streak against a single opponent.
"We just ran out of gas," Johnson said.
Jonas Valanciunas scored 18 points, and Terrence Ross and DeMar DeRozan each had 12 for the Raptors, whose last victory over the Heat was a 111-103 home win on Jan. 27, 2010 — when Bosh still played for Toronto and James was in Cleveland.
Toronto tied it at 77 on a pair of free throws by Gay less than a minute into the fourth but, even with James on the bench, Miami answered immediately. Allen hit a jumper, Norris Cole threw a half-court lob pass to Wade for an alley-oop dunk and Allen made a 3-pointer, giving Miami an 84-77 lead.
"It was a perfect pass," Wade said. "I don't really show a lot of emotions nowadays too much, but I got a little pumped up after that one."
After a Raptors timeout, Chris Andersen converted a three-point play and Wade made two free throws, capping a 12-0 run that put the Heat up 89-77 with 7:42 left.
James scored eight points and Bosh had seven in the first and Miami closed the quarter with an 8-2 run to lead 27-19 after one.
A layup from Bosh gave Miami a 49-33 lead with 2:37 left in the half. Toronto closed the gap with a 6-0 run, but a 3 by James with less than 3 seconds left put the Heat up 55-43 at the break.
Miami called timeout at 6:49 of the third after a layup by DeRozan cut it to 66-59, but Bosh answered with a 3 from the corner, restoring Miami's double-digit advantage.
Toronto fought back again in the final minutes of the third. After a dunk by Gay, DeRozan converted a three-point play with 1:52 left, making it 76-69. DeRozan, who missed 10 of his first 12 shots, made two jumpers in the final 1:14 as the Raptors cut it to 76-73 heading into the fourth.
NOTES: James narrowly missed a triple-double, finishing with eight assists. ... The Raptors outrebounded the Heat 51-26. ... Toronto has lost five straight home meetings with Miami. ... Former Raptor Morris Peterson attended the game.