Gaylord Perry of the Kansas City Royals, the only man to win a Cy Young Award in both leagues, ended a 21-year, 314-victory career tonight by retiring.

"The time has come," Perry said. "Twenty five years in professional baseball, 21 years in the big leagues, 690 major league starts, 314 wins, two Cy Young awards--it's all been great. But now it's time to get back home to the peanut farm and make a living there."

Perry, 45, a right-hander whose career was marked by a reputation for throwing the banned spitball, had a 314-265 lifetime record with a 3.09 earned run average and 3,534 strikeouts in a career that included stops with eight clubs. He won the American League Cy Young Award in 1974 with the Cleveland Indians and earned his National League Cy Young in 1970 with the San Diego Padres.

Perry reached a milestone in August when he became only the third pitcher in major league history with 3,500 strikeouts. He is third on the all-time list, and his 314 victories put him 10th all time. Perry was 7-14 this season with a 4.64 ERA in 30 games. He was 4-4 with the Royals, who he joined in July after being released by Seattle.