On August 4, Miles threw a perfect 8th inning in a 12–1 loss to the Washington Nationals. Of Miles' nine pitches, six were for strikes. It was the first time he had pitched since he was 14 years old. Miles pitched during the game when Cardinals' manager Tony La Russa asked his pitching coach, Dave Duncan, "Who's our shortest reliever?" The tongue-in-cheek answer was Miles, at 5' 8". His pitching career took a turn for the worse later that season. On September 20, he pitched the 9th inning against the Houston Astros and was touched for three hits, including a two-run home run by J. R. Towles. It was Towles' first career major league home run. On June 13, 2008, Miles would make his third pitching appearance, this time against the Philadelphia Phillies. With the Phillies leading, 20–2, Miles came in to finish off the game with a perfect 9th inning while striking out Jimmy Rollins.