The Rays gave away 20,000 tickets for the regular-season home finale. Fans begin lining up outside the domed stadium several hours before gametime. The team said the allotment of free tickets was exhausted about 45 minutes before first pitch.
Tampa Bay clinched its second playoff berth in three years before 17,891 on Tuesday night. Monday night's potential clincher drew 12,446, a number that moved stars Evan Longoria and David Price to complain about a lack of fan support.
"I think it's cool, absolutely," Price said of the ticket giveaway. "It's pretty neat."
Millwood (4-16) struck out seven and walked three. Jim Johnson gave up a single during the eighth before Koji Uehara completed a three-hitter and picked up his 11th save.
The Rays entered Wednesday with a half-game lead over the second-place New York Yankees in the AL East. The Yankees were at Toronto.
Tampa Bay center fielder B.J. Upton made a diving catch on Luke Scott's liner with a runner on first and no outs in the seventh. However, later in the inning Pie drove in two runs for a 2-0 lead with a triple off Jeff Niemann (11-8) that went over right fielder Matt Joyce's head.
Pie's hit stopped a stretch of 17 consecutive scoreless innings for the Orioles, who took two of three from Tampa Bay.
Niemann gave up two runs and four hits in seven innings.
Tampa Bay loaded the bases with two outs during the seventh, but failed to score when Millwood struck out Upton.
The Rays used their plaid billed hats for the first time in a game. The team marketing department came up with the cap idea after Tampa Bay wore plaid jackets (called Braysers) during a theme West Coast road trip last month.
"All this stuff has been done in different ways before," Tampa Bay manager Joe Maddon said. "When something new comes out, people, some enjoy it, some frown upon it, some don't get it and that's OK."
Notes: Baltimore 2B Brian Roberts continues not to feel well and was out of the lineup for the second straight game. ... Orioles RHP Jake Arrieta has decided not to have surgery for a bone spur near his right elbow after getting a second opinion from Dr. Lewis Yocum. ... Baltimore RHP Rick VandenHurk, a native of the Netherlands, has organized a series of free youth baseball clinics in his home country and Belgium during November. Teammates Adam Jones and Jeremy Guthrie are among those scheduled to take part.