Two very different races. Here's every stat, side by side, to help you pick.
Indicative — based on GPX data. Both courses normalised to start at 0m.
✓ marks the better number on that stat.
Two big California marathons with two very different profiles. Los Angeles is a March point-to-point from Dodger Stadium through Chinatown, Hollywood and Beverly Hills to the Avenue of the Stars, with 290m of gain and 355m of loss and a difficulty score of 5.8. San Francisco is a July loop from the Embarcadero across the Golden Gate Bridge, through Golden Gate Park and Haight-Ashbury, with 416m of gain and a score of 5.9.
The two score almost the same on difficulty, but San Francisco asks for more climbing and has a smaller field of about 7,200 finishers against Los Angeles's 24,000. Choose Los Angeles for a bigger, net-downhill tour, and San Francisco if you want the Golden Gate Bridge and do not mind hills.