"That's me for Wales, playing wise," he told Sky Sports after the game against the Poles.
"I think the time is right, with the group the way it is. It looks very difficult to qualify and I think it would be wrong for me to carry on.
"I think it is time to get somebody younger in and whoever the new manager is, has got a lot to work with."
"I have won 85 caps and have had a great career with Wales and have enjoyed every minute of it."
Speed is one of the names in the hat for the managers job left vacant after Mark Hughes departure to Blackburn. Hughes took charge of the side for the last time against Poland.