The Reds (43-28) hit four solo homers in all, extending their best start since 1995, the last time they won a playoff series.
Cozart connected in the fourth and Frazier in the sixth off Liriano (5-3), who hadn't allowed a homer in his seven previous starts. He opened the season on the disabled list, recovering from a broken right arm last December.
Joey Votto and Jay Bruce connected in the eighth inning off Bryan Morris. Bruce has three homers during a five-game hitting streak.
Mike Leake (7-3) extended the best stretch of his four-year career, giving up six hits — including Russell Martin's RBI double — in seven innings. Leake got 13 outs off ground balls and fanned three.
BRAVES 2, METS 1
ATLANTA (AP) — Freddie Freeman hit a two-run homer in the ninth inning off Dillon Gee, giving Atlanta a stunning victory over New York in a game that was delayed nearly four hours by rain.
Gee (5-7) totally shut down the Braves until the ninth, when Justin Upton singled with one out before Freeman launched a towering drive into the right-field seats on a 2-2 pitch to end a game that didn't start until nearly 11 p.m.
Until then, Gee had allowed only two runners as far as second base.
David Carpenter (1-0) earned the win with a scoreless ninth. Tim Hudson worked seven innings for the Braves, allowing only Gee's RBI single with two outs in the seventh.
The long delay came at an inopportune time with the teams facing a day-night doubleheader Tuesday.
PADRES 5, GIANTS 3, 13 INNINGS
SAN FRANCISCO (AP) — Will Venable made an incredible catch, pinch-hitting pitcher Andrew Cashner drove in the go-ahead run with a perfectly executed safety squeeze in the 13th inning, and San Diego extended its season-best winning streak to seven with a victory over San Francisco.
Venable's diving grab on the centre-field warning track with his back to home plate ended the 12th and stole a game-winning hit from Juan Perez.
Moments later, Alexi Amarista started the winning rally with a single and went to third on Chris Denorfia's single. Cashner came up to face Jose Mijares (0-1) and dropped a bunt single between the mound and third base for his sixth career hit and second RBI.
San Diego added another run on a bases-loaded walk from Jake Dunning.
Nick Vincent (1-0) earned the win with two scoreless innings.
MARLINS 3, DIAMONDBACKS 2
PHOENIX (AP) — Giancarlo Stanton drove in all three Miami runs with a pair of homers and the Marlins handed Arizona its fourth straight loss.
Patrick Corbin, trying to become the first left-handed starter in 35 years to go 10-0, allowed two hits through eight innings but gave up a two-run homer to Stanton that tied the game at 2.
Stanton's line-drive home run to right off Heath Bell (2-1) in the ninth put Miami ahead for the first time. It was the 100th homer of his career, and sixth in 43 at-bats at Chase Field.
Mike Dunn (2-1) threw a scoreless eighth inning to get the win.
Steve Cishek pitched a perfect ninth for his 10th save in 12 tries.
PHILLIES 5, NATIONALS 4
PHILADELPHIA (AP) — Domonic Brown hit an RBI single with two outs in the bottom of the ninth inning and the Phillies beat the Nationals.
The Nationals tied it at 4 when Chad Tracy hit a solo homer with two outs in the ninth off closer Jonathan Papelbon (1-0). It was the first blown save for Papelbon, who had converted his previous 13 chances.
Ben Revere led off the Phillies' ninth with a single against Fernando Abad (0-2). Revere was running on Jimmy Rollins' one-out single and easily reached third base.
Abad struck out pinch-hitter Steven Lerud for the second out before Brown fisted the winning hit to centre. Papelbon was the first player to greet Brown in celebration as he was rounding first base.
CARDINALS 5, CUBS 2
ST. LOUIS (AP) — Rookie Shelby Miller pitched five shutout innings and Yadier Molina had a two-run double to lead St. Louis to a win over Chicago.
Miller (8-4), who had to wait out a rain delay of 1 hour, 59 minutes to start the game, left due to cramping in his right leg. He allowed just two hits and struck out five in the shortest start of his career. His previous shortest stint was 5 1-3 innings at Los Angeles on May 26.
Kevin Siegrist and Seth Manness followed Miller and combined for two shutout innings. Edward Munica gave up a homer to Darwin Barney in the ninth, but still earned his 20th save.
Travis Wood (5-6) gave up four runs on seven hits.