ATLANTA -- Pete Alonso and Amed Rosario helped the New York Mets pile up huge totals of hits and runs.
The Mets needed almost all of them to hold off the homer-happy Atlanta Braves.
Alonso drove in six runs with five hits, including a three-run homer that helped lead to Julio Teheran's shortest career start, and the Mets held on in the ninth inning to beat the Braves 10-8 on Thursday night.
"It's incredible. It's hard to put in words, five knocks as a rookie," Mets starter Marcus Stroman said of Alonso. "It seems like he's on everything, barreling everything."
Alonso's first-inning homer carried 451 feet before making a splash landing in the pool behind the center-field wall.
Alonso's 39th homer tied Cody Bellinger for the National League rookie record. Bellinger hit 39 homers for the Dodgers in 2017, the same year the Yankees' Aaron Judge set the major league rookie mark with 52.
"I don't stand alone," Alonso said. "I'm tied. Hopefully I keep on going and keep pushing forward. Hopefully I can stand alone in that category."
Alonso set career highs for hits and RBIs.
The Mets had a season-high 23 hits. Rosario's career-high five hits included two doubles, two singles and a triple . It was the first time in franchise history the Mets had more than one player with five hits.
"That's nuts. That's crazy," Alonso said when told about the duo setting Mets history. "I think all of us kind of fed off Amed today."
Wilson Ramos added four hits.
New York won despite giving up six homers, including three in the ninth. Freddie Freeman and Josh Donaldson each hit his second homer of the game in the inning and Ronald Acuña Jr. hit a two-run shot — all against Drew Gagnon.
Edwin Díaz walked Brian McCann before striking out Ender Inciarte for his 25th save.
Stroman (7-11) allowed three runs, two earned, on four hits in 5 1/3 innings. The right-hander earned his first win in three starts since being traded to New York from Toronto on July 28.
Stroman gave up homers to Matt Joyce in the fourth and Donaldson in the sixth.
New York, trying to stay close in the NL wild-card race, snapped a three-game losing streak that included the first two games of the series.
Teheran (7-8) walked three straight batters to force in a run in the second. He left the game after giving up a run-scoring single to Ramos. Teheran recorded only four outs while giving up eight hits and six runs.
"My command wasn't there," Teheran said, adding he'll try to quickly move past the ugly outing. "I'm just going to put it in a bag and concentrate on the next one."
Todd Frazier's third-inning homer off Josh Tomlin increased New York's lead to 7-0.
Alonso drove in two runs with a fifth-inning single off Tomlin and added a run-scoring single off Anthony Swarzak in the seventh.
Mets: Only one day after he was placed on the 10-day IL with a mild left hamstring strain, 2B Jeff McNeil jogged in the outfield before batting practice. McNeil's work supports hopes he won't miss more than 10 days with his second IL stint this season with the same injury.
Braves: SS Dansby Swanson (right foot contusion) hasn't been cleared to run but took fielding practice from his knees before the game. It's the same drill regularly used by third base coach Ron Washington with infielders. Swanson, who also played catch in the outfield, has been out since July 24.
Teheran fell to 1-2 in four starts against the Mets this season, including three straight in which he failed to last longer than four innings.
CATCH OF THE DAY
Acuña robbed J.D. Davis of a homer in the sixth by leaping and reaching above the yellow line atop the left-field wall for a catch. Acuña landed in a sitting position on the warning track before pausing and throwing the ball back to the infield as fans cheered.
"Kind of dramatic," Braves manager Brian Snitker said of the brief uncertainty about the catch. "Good for him. It's entertainment."
Mets: RHP Noah Syndergaard (8-5, 3.89) will make his first start against the Royals since 2016 when the Mets open a three-game series at Kansas City on Friday night. Syndergaard gave up three runs in six innings in a 4-3 win in the 2016 start.
Braves: RHP Mike Soroka (10-2, 2.32) will make his first start against Los Angeles when Atlanta opens a three-game series against Kenta Maeda and the Dodgers on Friday night. The matchup of division leaders is a rematch of the 2018 NL Division Series won by the Dodgers.
More AP baseball: https://apnews.com/MLB and https://twitter.com/AP—Sports