NEW YORK -- Alex Avila had the game-tying single in the seventh and then hit the go-ahead home run with one out in the top of the 12th inning as the Detroit Tigers outlasted the New York Yankees for a 4-3 victory Tuesday night.

The catcher had a two-out single in the seventh off New York starter Hiroki Kuroda to help Detroit reach extra innings. After grounding out in the 10th, Avila drove a 1-0 fastball from Matt Daley (0-1) into the last row of the right-field grandstand just in front of the right-field bleachers.

After David Price allowed three runs and eight hits over 8 2/3 innings in his Detroit debut, Joba Chamberlain, Joakim Soria and Joe Nathan combined on 3 1/3 scoreless innings.

Chamberlain recorded the final out of the ninth and stranded Derek Jeter at first in the 10th after hitting the Yankee captain with a pitch. Soria (2-4) pitched a perfect 11th for the win and Nathan did the same in the 12th for his 23rd save in 28 opportunities.

Reds 9, Indians 2

CLEVELAND -- Johnny Cueto pitched his fourth complete game of the season, and Ramon Santiago and Jay Bruce homered to lead Cincinnati over Cleveland.

Cueto (13-6) gave up two runs on five hits with six strikeouts and two walks. Bruce, who finished 3-for-5 with two RBIs, hit a solo homer in the ninth inning. Santiago hit a three-run homer in the second inning.

The Indians saw their four-game winning streak end. The Reds won for the fourth time in six games.

Mets 6, Nationals 1

WASHINGTON -- Daniel Murphy had three hits and two RBIs, and Zack Wheeler pitched into the seventh inning as New York defeated Washington.

Murphy tripled and scored in the first inning, and added a two-run single in the seventh.

Wheeler (7-8) helped his own cause with an RBI single as the Mets defeated the Nationals for just the second time in their last 12 meetings. The right-hander went 6 2/3 innings, allowing a run on seven hits. It was Wheeler's seventh straight start of six or more innings and two or fewer runs. He is 4-0 during that stretch with a 1.59 ERA.

Marlins 6, Pirates 3

PITTSBURGH -- Miami scored five runs in the eighth inning with only one extra-base hit -- a double by Christian Yelich that drove in the final run -- to rally past Pittsburgh.

There were also three walks, two singles and an error in the eighth. It was the Marlins' biggest inning since also scoring five runs June 27 against Oakland.

Giancarlo Stanton started the inning by drawing a one-out walk from reliever Jared Hughes (6-3), and third baseman Josh Harrison booted a potential double play ball to keep the inning alive.

Orioles 9, Blue Jays 3

TORONTO -- Baltimore hit three home runs -- Caleb Joseph and Jonathan Schoop hit back-to-back shots in the fourth, while Chris Davis added a solo blast in the fifth -- in the opener of a key three-game set in the AL East.

The three homers upped Baltimore's total to 136 on the season, moving past Toronto for the most in baseball.

Right-hander Bud Norris (9-7) threw 5 1/3 innings of two-run ball and struck out six in the Orioles' 34th road win, the most in the AL. Norris' only blemish was a two-run homer served up to Colby Rasmus in the fourth inning.

Twins 3, Padres 1

MINNEAPOLIS -- Kennys Vargas hit his first major league home run, a three-run blast in the sixth inning, to lead Minnesota over San Diego.

The Twins struggled to get any offense going against Padres right-hander Jesse Hahn, who held Minnesota to two hits through five innings. But Minnesota broke through in the sixth, getting a double from Brian Dozier and a walk from Trevor Plouffe before Vargas homered with two outs.

The blast made a winner of righty Phil Hughes, who tossed six innings of one-run ball for his 11th victory of the season. Closer Glen Perkins allowed a pair of singles in the ninth, but worked out of the jam for his 28th save.

Rangers 16, White Sox 0