Pistons 123, Heat 121, OT

Malik Beasley made a tiebreaking free throw with 1.1 seconds left in overtime after Miami was given a technical foul for calling a timeout when it had none left, and Detroit edged the Heat in an NBA Cup game on Tuesday night.

Tyler Herro’s jumper put Miami up 121-119 with 1.8 seconds left, but after a timeout, Cade Cunningham hit Jalen Duren with an alley-oop on the inbounds pass.

The Heat then called the illegal timeout. Beasley hit the foul shot to put Detroit up 122-121, then added another free throw with 0.1 seconds left.

Beasley and Cunningham each scored 21 for the Pistons, who went 0-4 in last year’s NBA Cup. Herro had 40, including 20 in the fourth quarter and overtime.

magic 114, hornets 89

Franz Wagner scored 32 points and Jalen Suggs hit his first seven shots, including three 3-pointers, to lead Orlando to a win over Charlotte.

LaMelo Ball scored 16 of his 35 points in the first quarter for the Hornets in the opening round of Group A play in the NBA Cup. Coming off a career-high 38 points in Sunday’s overtime loss at Philadelphia, Ball added six rebounds and seven assists.

Suggs had 13 points in the first quarter and finished with 17 points and two steals.

Greg Williams scored 15 points and Moussa Diabate had 12 points and 15 rebounds for Charlotte.

hawks 117. celtics 116

Onyeka Okongwu tipped in a missed shot with 6.1 seconds left, and Jaylen Brown missed a jumper at the buzzer as Atlanta overcame a 15-point, second-half deficit to beat Boston in their NBA Cup opener.

SUNS 120, JAZZ 112

Devin Booker scored 31 points and Bradley Beal added 24 to help Phoenix open NBA Cup pool play with a victory over Utah.

bucks 99, raptors 85

Giannis Antetokounmpo scored 23 points to lead Milwaukee past Toronto in an NBA Cup game between teams that entered with the two worst records in the league.