Once again, due to different schools and majors, tuition fees vary greatly, and other expenses are the same.
Tuition: The South African government does not subsidize undergraduate education for international students, but subsidizes graduate students and above, with the government subsidizing two thirds and individuals paying only one third of the tuition. Tuition fees vary greatly from school to school.
Registration fee: once for admission and once every academic year thereafter. Fees vary from school to school and from major to major.
Book fee: reading in South Africa is more expensive, but you can use old books, which is much cheaper.
Accommodation, meals: you can choose student apartments on campus, shared apartments off campus, local residents renting houses and so on.