LAS VEGAS -- Not even a banged-up left shoulder can deter Josh Allen.
Carving up the Raiders secondary, Allen meshed well with offseason acquisition Stefon Diggs, who finished with six receptions for 115 yards. Allen completed at least one pass to nine different targets.
"Our guys have been busting their tails in practice and my job is to just give them an opportunity to make a play," Allen said.
Buffalo, which is averaging a league third-best 30.75 points per game, has opened 4-0 for the first time in 12 years. The Bills were 3-1 last season, when they made the playoffs.
Las Vegas (2-2) lost its second straight game and first inside the shiny new $2 billion Allegiant Stadium. Two turnovers and seven penalties were costly for the Raiders.
Raiders quarterback Derek Carr finished 32 for 44 for 311 yards and two touchdowns. Carr, who has yet to throw an interception this season, surpassed Ken Stabler and set a franchise record with 151 career touchdown passes.
But it was Allen's brilliance in the first half, when he finished 15 of 20 with two touchdowns, that set the tone. His 26-yard strike to Gabriel Davis on the opening drive was his 13th TD of the season, surpassing Ryan Fitzpatrick (12) for the most total touchdowns by a Bills player in the first four games of the schedule. Allen also found Cole Beasley for an 11-yard reception to push Buffalo's lead to 14-3.
The Bills survived a scare when Allen was taken to the locker room late in the first half with the shoulder injury. Allen said he fell "funky" on his non-throwing arm after sprawling in the air and shoveling an 8-yard left-handed pass to Diggs. He was back on the bench moments later, knelt on the final play of the half, and returned in the second half to pick up where he left off.
"You watch Buffalo's offense, they do a lot," Raiders coach Jon Gruden said. "The quarterback can complete passes left-handed. The guy's a beast standing back there. They got a pretty good attack."
With its lead cut to one, 17-16, Buffalo's defense came to life by stopping the Raiders on four consecutive possessions. Las Vegas gave the ball back to the Bills by way of punt, fumble, downs and another fumble before scoring on its final possession.
"We were talking all week we've got to find ways to make plays," Buffalo safety Jordan Poyer said. "The first half, we couldn't get off the field on third down. Second half we found some ways to get some stops and take the football away. And I think that changed the game dramatically."
When Buffalo punted with 5:13 left in the third quarter it marked the first time the Raiders forced a punt since 7:50 of the opening period last Sunday in New England. Las Vegas had allowed scores on nine straight non-kneeldown drives.
When the Raiders punted in the third quarter it was the first one Buffalo forced in 14 consecutive opposing drives, dating to the fourth quarter of its 31-28 win at Miami in Week 2. The Bills had combined to force 11 punts in their first two games; they've forced one the past two.
Buffalo's two forced fumbles were its most since it got two in a 21-17 win over Cincinnati in Week 3 of last season.
Las Vegas managed to score its first points on an opening drive this season when Daniel Carlson booted a 54-yard field goal. The Raiders were tied for the second-most opening-drive points last season with 54.
BILLS MAFIA PRESENCE
Las Vegas-resident John Maurer, 59, didn't waste any time in purchasing tickets to see his beloved Bills for games at Allegiant Stadium, in San Francisco, and in Glendale, Arizona. The lifelong Buffalo fan often travels with daughter Taylor, 26, to see their hometown team. Despite the coronavirus keeping fans outside the venue, it didn't stop the Maurers from arriving at the Raiders' new home more than four hours before kickoff.
"Bills Mafia travels all over the country, regardless of whether or not we can't be in the stadium to support the team," said Taylor Maurer, whose Bills-themed jacket was highlighted with "Bills Mafia" on the back. "They know we're out here hanging out there for them."
Bills: Cornerback Levi Wallace left with a left ankle injury in the first quarter and did not return.
Raiders: Defensive tackle Maliek Collins injured his shoulder in the third quarter and did not return.
Bills: travel to Tennessee next Sunday
Raiders: travel to Super Bowl champion Kansas City next Sunday.
More AP NFL coverage: https://apnews.com/NFL and https://twitter.com/AP-NFL
NFL Week 12 betting nuggets
Here are notes on each NFL game in Week 12, including a rebound opportunity for Tom Brady and the Bucs against Kansas City.
How the Cowboys are dealing with the death of their strength coach
Todd Archer reports on the death of Cowboys strength and conditioning coordinator Markus Paul and how the team is preparing to play while coping with the loss.
Aaron Donald says he's not playing 'bad football' despite zero sacks in past 2 games, rips 'blatant' uncalled holds
Rams defensive tackle Aaron Donald pointed out Wednesday that he's not frustrated by recording zero sacks and tackles in his past two games, but said he is irked by "some blatant holds that we didn't get the call for."
Biggest Week 12 injury questions for all 32 NFL teams: Uncertainty surrounds Nick Foles, 49ers running backs
While the Bears have an iffy QB situation, the Ravens are dealing with a nasty COVID-19 outbreak. Our NFL Nation reporters have the latest.
Green Bay Packers' Aaron Rodgers wants fan favorites back at Lambeau Field
Green Bay Packers quarterback Aaron Rodgers says he wants fan favorites such as "Roll Out the Barrel" and beer bottle races back at Lambeau Field, even though the stadium will be without fans.
Dallas Cowboys strength and conditioning coach Markus Paul, 54, dies
Dallas Cowboys strength and conditioning coordinator Markus Paul, who was rushed to the hospital Tuesday morning after experiencing a medical emergency, has died, the team announced Wednesday. He was 54.