The number of foreign-born students enrolled in degree granting schools and colleges were about 500,000 in 2000, 650,000 in 2010, and reached a peak of about 900,000 in 2016. Having dipped during the pandemic, enrollments in 2022 were 860,000. The ratio of these students to all college students has wavered around 5% since the mid 2010s. (Go here).
The demand for college education in the U.S. is a function of the number of college-bound students in the world (which is going up) and the availability of college education in the world (which is also going up). the world has become markedly more formally educated in the past few decades.
Other advanced countries are more systematic in attracting foreign students. for instance Australia, less than 10% the size of the U.S. population, attracts about 380,000 college level students a year. (Go here.)