MIAMI (AP) — Goran Dragic scored 27 points, Dion Waiters had 26 with a pair of big 3-pointers in the final minutes and the Miami Heat held on to beat Boston 104-98 on Wednesday night, snapping the Celtics' 16-game winning streak.

Tyler Johnson scored 16 points for Miami, which had an 18-point lead cut to one in the final moments. The Heat shot 49 percent and outrebounded the Celtics 48-37.

Kyrie Irving scored 23 points for Boston. Jayson Tatum added 18, and Jaylen Brown and Marcus Morris each had 14.

The Celtics got down by 18 in the first half, which has been a very comfortable place for Boston this season. Boston had overcome 18-point deficits against Oklahoma City and Charlotte, a 17-point hole against Golden State, a 16-pointer against Atlanta and rallied from 13 down to win in Dallas this week.

The Celtics almost did it again.

Down by 14 midway through the fourth, the unflappable Celtics went on a 13-0 run in just about three minutes — getting to 91-90 when Smart made one of two free throws with 3:14 remaining.

Waiters decided that was close enough. His 3-pointer from the left wing bounced off the rim, then the top of the backboard, before falling to end Miami's scoreless drought. Waiters added another 3-pointer over Al Horford to make the lead seven, Hassan Whiteside had a big tip-in with 1:10 left and Miami would hang on from there.

THUNDER 108, WARRIORS 91

OKLAHOMA CITY (AP) — Russell Westbrook scored a season-high 34 points and added 10 rebounds and nine assists to help Oklahoma City roll past Golden State.

Oklahoma City beat the Warriors for the first time since Kevin Durant left the Thunder to join the Warriors after the 2015-16 season. Golden State won all four meetings last season.

Westbrook said it was just another game in the buildup, but he didn't play like it. At one point in the third quarter, Westbrook and Durant went forehead to forehead and were called for double technicals.

Westbrook's new All-Star teammates came through. Carmelo Anthony had 22 points and Paul George 20.

The crowd booed Durant nearly every time he touched the ball. He finished with 21 points on 8-for-17 shooting. Stephen Curry scored 24 points for the Warriors.

CAVALIERS 119, NETS 109

CLEVELAND (AP) — LeBron James shook off a blow to the face and scored 23 points in the fourth quarter — including 18 straight for Cleveland — and the Cavaliers beat Brooklyn for their sixth straight victory.

James needed stitches in the third quarter to close a gash above his lip that drew blood. He punched back at the Nets in the fourth and finished with 33 points.

With the Cavs up 100-99, James began his one-man show with a pair of free throws. He dropped in a couple left-handed shots and then drained two 3-pointers — the last a step-back with 55 seconds left to give Cleveland a 118-107 lead.

James' solo performance enabled the Cavs to avenge a 112-107 loss in Brooklyn last month.

Kevin Love and Dwyane Wade added 18 points apiece for Cleveland.

Rondae Hollis-Jefferson scored 20 points for the Nets.

BUCKS 113, SUNS 107, OT

PHOENIX (AP) — Khris Middleton scored 40 points and Eric Bledsoe added 30 in his return to Phoenix, leading short-handed Milwaukee.

Devin Booker led the Suns with 23 points and hit a long 3-pointer as time expired in the fourth quarter to force overtime. But they had four of their season-high 29 turnovers in overtime and shot 1 for 8 in the extra period.

Booker missed a chance to tie it seven seconds left in the extra session, and Middleton made four free throws to seal the Bucks' ninth victory of the season.

Bledsoe was traded to Milwaukee on Nov. 9 in the deal that brought center Greg Monroe the Suns. Monroe had 22 points and 15 rebounds.

The Bucks played without Giannis Antetokounmpo and four other players.

ROCKETS 125, NUGGETS 95

HOUSTON (AP) — Trevor Ariza had a season-high 25 points in Houston's victory over Denver.

Ariza was 7 of 10 from 3-point range. Chris Paul had 23 points and 12 assists, and James Harden added 21 points, nine assists and eight rebounds in limited action.

The Rockets have won nine of last 10 games, and beat Denver for the fifth straight time after sweeping the series 4-0 last season.

Will Barton led Denver with 20 points.

76ERS 101, TRAIL BLAZERS 81

PHILADELPHIA (AP) — Joel Embiid had 28 points, 12 rebounds and two blocks and fast-starting Philadelphia handled Portland with ease.

Coming off a 21-point victory over Utah on Monday night, the 76ers scored the game's first 16 points and held a double-digit lead most of the way.

Portland missed its first 13 shots before Shabazz Napier came off the bench and hit a jumper with 5:01 left in the first quarter. The Blazers never got closer than eight. It was the Blazers' lowest points total of the season, and the fewest that Philadelphia has allowed.

Damian Lillard had 30 points for Portland.

HORNETS 129, WIZARDS 124, OT

CHARLOTTE, N.C. (AP) — Dwight Howard had 26 points and 13 rebounds, including a key block at the end of regulation and a crucial offensive rebound in overtime, to help Charlotte beat Washington.

Kemba Walker and Jeremy Lamb each had 24 points for the Hornets, who overcame a nine-point fourth quarter deficit. The Hornets wrapped up a perfect three-game homestand.

John Wall had 31 points and 11 assists, and Bradley Beal added 22 points for the Wizards.

CLIPPERS 116, HAWKS 103

ATLANTA (AP) — Blake Griffin had 26 points, 10 rebounds and 10 assists, Wesley Johnson scored a season-high 24 points and Los Angeles beat Atlanta to snapped a nine-game skid.

The Clippers had dropped 11 of 12, but they overcame a monthlong struggle of closing out opponents, taking the lead for good on a pair of free throws by Lou Williams with 4:11 left in the third quarter.

Los Angeles had out a season-high 30 assists.

Marco Belinelli had 20 points of the Hawks.

PELICANS 107, SPURS 90

NEW ORLEANS (AP) — Anthony Davis had 29 points and 11 rebounds, Demarcus Cousins added 24 points and 15 rebounds, and New Orleans beat San Antonio.

Jrue Holiday scored 13 points and Darius Miller chipped in 13 on four 3-pointers for the Pelicans.

Pau Gasol had 17 points and LaMarcus Aldridge 16 in a largely frustrating night for San Antonio. The Spurs shot only 39.8 percent (35 of 88) and went 6 of 24 from 3-point range.

MAVERICKS 95, GRIZZLIES 94

MEMPHIS, Tenn. (AP) — Harrison Barnes banked in a 30-footer at the buzzer to lift Dallas past Memphis.

Officials reviewed the play to make sure the shot got off in time. Memphis suffered its sixth straight loss after squandering an 18-point lead in the first half.

Barnes led the Mavericks with 22 points, nine of them coming in the fourth quarter to help Dallas thwart a late Memphis comeback. Dennis Smith Jr. finished with 17 points, and J.J. Barea had 10 points and 11 assists. Tyreke Evans led Memphis with 18 points.

TIMBERWOLVES 124, MAGIC 118

MINNEAPOLIS (AP) — Jimmy Butler tied a season high with 26 points, Taj Gibson scored a season-high 24, and Minnesota held off Orlando.

Jeff Teague had 22 points and 11 assists, and Andrew Wiggins added 20 points as all five starters scored in double figures to help the Timberwolves end a two-game slide.

Karl-Anthony Towns had 18 points and 13 rebounds for his 14th double-double, which tied DeMarcus Cousins for the league lead. Aaron Gordon had 26 points and nine rebounds for the Magic.

KNICKS 108, RAPTORS 100

NEW YORK (AP) — Tim Hardaway Jr. scored a career-high 38 points, including 12 during a 28-0 run in the third quarter that sent New York past Toronto.

Kristaps Porzingis added 22 points and 12 rebounds for the Knicks, who outscored the Raptors 41-10 in the third. Kyle Lowry scored 25 points and DeMar DeRozan had 18 for the Raptors.

KINGS 113, LAKERS 102

SACRAMENTO, Calif. (AP) — Zach Randolph had 22 points, seven rebounds and seven assists, Willie Cauley-Stein added 26 points and the Sacramento beat Los Angeles.

Buddy Hield added 10 points for Sacramento, including a pair of 3-pointers during a 15-5 run to open the fourth quarter. Bogdan Bogdanovic scored 14, Frank Mason added 11 and De'Aaron Fox had 13 in his first NBA matchup against Lonzo Ball.

The Kings trailed briefly in the first quarter but took the lead on Randolph's up-and-under basket past Brook Lopez and slowly pulled away after that. Sacramento led by as many as 20 and dominated Los Angeles on the boards.

Kentavious Caldwell-Pope scored 20 points, Kyle Kuzma had 17 and Ball had 11 points, 11 assists and seven rebounds for the Lakers. Los Angeles was playing the second half of a back-to-back after rallying from 19 down to beat the Chicago Bulls on Tuesday.

JAZZ 110, BULLS 80

SALT LAKE CITY (AP) — Derrick Favors scored 23 points, reserve Rodney Hood added 19 and Utah beat Chicago.

Alec Burks chipped in 15 points for Utah, which snapped a three-game losing streak to Chicago extending back to the 2015-16 season.

Robin Lopez scored 15 points and Bobby Portis added 14 points and eight rebounds off the bench for the Bulls. Justin Holiday and Kris Dunn chipped in 12 points apiece. Chicago (3-13) dropped to 0-3 on its Western road trip.

___

For more NBA coverage: https://apnews.com/tag/NBAbasketball