DETROIT - Danilo Gallinari made a crucial 3-pointer in the final minute, and the Oklahoma City Thunder beat the Detroit Pistons 114-107 on Wednesday night despite blowing a 16-point second-half lead.
The depleted Pistons rallied in the fourth quarter and took a 103-102 advantage after a 3-pointer by Svi Mykhailiuk. It was tight the rest of the way, and with the Thunder up by one late, Oklahoma City's Chris Paul dribbled toward Detroit's Brandon Knight, who hit the deck trying to draw an offensive foul.
There was no whistle, and Gallinari made a 3 with 21.6 seconds remaining to put the Thunder up 111-107.
Shai Gilgeous-Alexander scored 27 points for Oklahoma City, which snapped out of its brief scoring slump. The Thunder had lost their previous two games, not scoring more than 94 points in either. They had that many after three quarters Wednesday.
Christian Wood scored a career-high 29 points for the Pistons, who are without Derrick Rose (right ankle sprain) and have been missing Blake Griffin (left knee surgery) for a while.
The Thunder shot 68% from the field in the first quarter, but led by just five at halftime at 69-64. They pushed the lead to 16 late in the third before Detroit made its push.
The Pistons have lost nine of their last 10 and 15 of their last 18.
The Thunder entered with a half-game lead on Dallas for the No. 6 seed in the Western Conference. The Mavericks hosted New Orleans on Wednesday night.
The Pistons claimed guard Jordan McRae off waivers, and he stepped in and scored 15 points.
Thunder: Oklahoma City shot 61% from the field for the game, even after scoring only 20 points in the fourth quarter.
Pistons: Wood's previous career high was 28 points Dec. 1 vs. San Antonio.
Thunder: Host New York on Friday night.
Pistons: Host Utah on Saturday night.