Both very large cities with a few redeeming qualities and a lot of drawbacks.
Vancouver or even Calgary would be better choices for Canadian destinations, based on quality of living (although V can be rainy for long periods, and C can be cold - not Toronto cold, but still…)
I’m sure some US members can suggest American alternatives, but if you’ve got free accommodations lined up in LA or Toronto, then LA is warmer and has a lot more going on. Toronto probably is cleaner and has a more polite population.