TORONTO - DeMar DeRozan poured in a career-high and franchise-record 52 points and the Toronto Raptors opened the new year with a thrilling 131-127 victory over the Milwaukee Bucks in overtime Monday, their 12th win in a row at the Air Canada Centre.

The dozen consecutive home wins tied their franchise record set early in 2016.

Kyle Lowry added 26 points, while Fred VanVleet and Serge Ibaka finished with 11 apiece for the Raptors (25-10).

Eric Bledsoe had 29 points to top the Bucks (19-16), while Giannis Antetokounmpo added 26.

DeRozan had five three-pointers on the night, one shy of his career high, and his 21 first-quarter points were one shy of the franchise record for a quarter, set by Lowry on Dec. 2, 2015.

In their first meeting since the Raptors dispatched Milwaukee in six games in the opening round of last season's playoffs, Toronto had an early nine-point lead but didn't get to enjoy it long in a game that saw 11 lead changes.

The Raptors took a narrow 88-84 advantage into the fourth quarter, but the Bucks fought hard down the stretch, and with 2:07 to play took a 110-106 lead after a three-pointer from Matthew Dellavedova and a pair of Bledsoe free throws. DeRozan converted a three-point play, and Lowry drilled a three right in front of the Bucks bench to tie the game with 57 seconds to play.

The Raptors turned the ball over on a shot clock violation with 3.2 seconds to play, then with the capacity crowd of 19,800 on its collective feet, DeRozan was on Bledsoe like a blanket, sending the game into extra time tied at 114-114.

A Bledsoe three gave the Bucks an early three-point lead in overtime, but it was all Raptors the rest of the way, and when Ibaka scored with 57 seconds left, it gave Toronto a seven-point lead. An alley-oop dunk by Antetokounmpo cut the lead to just two, but DeRozan sealed the victory with a pair of free throws.

Dozens of blue and white Greek flags dotted the crowd in celebration of Greek Heritage Night and Antetokounmpo, who grew up in Athens. The “Greek Freak” arrived in Toronto averaging career highs in points (29.1) and rebounds (10.4).

DeRozan and the Raptors got off to a strong start, taking an early nine-point lead. But it didn't last long, and a cutting dunk by Antetokounmpo with 1.8 seconds left in the first quarter cut Toronto's advantage to 35-30 going into the second.

The lead changed hands eight times in the second quarter, and with 2.4 seconds left, DeRozan scored on a running pull-up three-pointer, and the Raptors took a 60-54 lead into the halftime break.

DeRozan's three early in the third quarter gave Toronto an 11-point lead, but an Antetokounmpo jumper capped an 11-1 run that pulled the Bucks to within a point with five minutes left in the third.

The Raptors are in Chicago on Wednesday, Milwaukee on Friday, and Brooklyn next Monday, then face a tough home stretch against visiting Miami, Cleveland, and Golden State.