Site. Prob doesn’t apply to SF home games. But if the team hasn’t sold all of its season tickets, prices may be cheaper directly on mlb.com / team page.
As an example, some Rangers tickets direct from team site were less than half as much as secondary market tickets in the same sections when I went last week.