They pay full tuition (which is a lot of money). U of Illinois even has an insurance that if the number of international students declines too much (so it gains significantly less money from tuition), it would get compensated by the insurance company.