Ayayi holds dual citizenship to France and his parents' home country of Benin, but he plays basketball for the French national teams. At the 2016 FIBA U16 European Championship in Radom, Poland, he averaged 11.3 points and 6.7 rebounds per game for France. Ayayi led his team to a bronze medal at the 2018 FIBA U18 European Championship in Latvia. After averaging 15.7 points per game, he was named to the All-Star Five. Ayayi helped France win bronze at the 2019 FIBA Under-19 Basketball World Cup in Heraklion, Greece, where he earned All-Star Five honors. He averaged 20.9 points, 5.6 rebounds, and 3.4 assists per game and led all scorers with 33 points in a bronze medal game against Lithuania.