Vainio was a regular member of the senior Finnish national team, with whom he played in 68 games. He helped lead Finland to a sixth-place finish at the EuroBasket 1967, averaging 7.1 points per game. He was selected to the All-Tournament Team.