Data on spending per pupil in the US largest school districts [1] reveals that San Francisco spends $13,718 per pupil. San Francisco spends more per pupil than the US average.
OECD Data [2] indicates that overall the US spends on average $13,084 per pupil on secondary education. This is ahead of 31 of the other OECD countries. Only 4 OECD countries spend more than the US per pupil, and only 3 OECD countries (Norway, Austria, and Luxembourg) spend more than San Francisco per pupil.
Several other sources of analysis of per pupil spending are included below.