Rudy Gay scored 40 points — one off his career high — including a pair of key 3-pointers, and the Sacramento Kings surprised the Portland Trail Blazers 103-94 on Friday night.

DeMarcus Cousins added 17 points and nine rebounds for the Kings, who rebounded from a sloppy season-opening loss to the Golden State Warriors on Wednesday night.

Darren Collison added 17 points, eight assists and eight rebounds. Omri Casspi had 10 points.

LaMarcus Aldridge scored 22 points to lead the Trail Blazers, who were coming off a season-opening victory over the Oklahoma City Thunder. Damian Lillard added 20 points, Wesley Matthews had 16 and Chris Kaman 12.

An intentional foul call went against Nicolas Batum, putting Gay on the line. He converted both free throws and then added a 3-pointer on the ensuing possession to spark a Kings 13-0 run midway through the final period.

Steve Blake and Matthews hit consecutive 3-pointers to start the fourth quarter and the Trail Blazers a 77-73 lead.

The Kings opened an 11-point lead midway through the third quarter, riding Gay's torrid shooting. He sank his first five shots of the period, including the 3-pointer that gave the Kings their double-digit lead.

Portland eventually played its way back and tied the game at 71 entering the final quarter.

Gay, 5 for 15 against the Warriors on Wednesday, also made his first five shots to help the Kings open an early lead.

The game was tied at 48 at halftime.

TIP INS

Trail Blazers: All five Portland starters averaged double figures against the Warriors last year. . Portland had won the first meeting in each of the previous seven seasons against the Kings. . Matthews missed his first five 3-point attempts after hitting 5 of 9 against the Oklahoma City Thunder.

Kings: Have lost seven straight against the Clippers in Los Angeles. . Cousins had 53 double-doubles last year and opened the season with another one. He got into foul trouble early in the third quarter and did not get a rebound in about five minutes. . Gay has a career-high of 41 points.

WHAT'S NEXT

Trail Blazers: Host the Golden State Warriors on Sunday.

Kings: Travel to the Los Angeles Clippers on Sunday.