Studying internationally is pricey and fees for international students in Canada have gone up a lot in the last decade, and UofT has some of the most expensive international fees of any Canadian university. This is largely because it is the provinces, not the Federal government that dictates how much the universities can charge domestic or international students and Ontario allows universities to charge a lot more for internationals. Some provinces might have Universities that charge less for internationals, I know McGill (in Montreal, Quebec) used to attract a lot of attention because it was well known abroad and had (comparatively) lower fees due to Quebec government legislation, than Ontario based universities so you might want to check that out as an option as McGill generally has a good amount of name-brand recognition abroad, especially in the North-East of the US.
In terms of safety, I cant speak to Rotterdam, but I did my undergrad at Toronto and my Masters at McGill so I can tell you both are in the downtown core of their respective cities and quite safe. The streets are always well-lit and busy at night and students are always out at night so you should be fine there.
NOTE: Pretty much all Canadian and American Bachelor degrees are 4 years for a bachelor or honours degree. Masters are a full two years and a PhD are 4 to 5. That’s just the standard in North America. There are shorter “Associates Degrees”, but you really want to avoid those as a Bachelors is really becoming the standard nowadays.
Note on price: remember that 1 Euro is worth like 2 $C so cut the Canadian prices in half in your mind. Still, I personally would prefer to avoid spending a huge amount of money on a undergraduate degree, particularly if you are thinking of doing graduate school or a professional degree afterwords so if I were in your situation I would probably take Rotterdam or look for a cheaper international/Canadian school then Toronto. Especially since UofT’s reputation is largely built off its graduate departments and its research output rather than its main undergrad programs.