Josh Donaldson added a two-run homer as part of a 2-for-3 day that helped the Athletics close out the home-and-home Bay Bridge Series with wins in three of the four matchups. Vogt, Brandon Moss and John Jaso also finished with a pair of hits.
Kazmir (11-3) only allowed three hits and a walk while racking up nine strikeouts in an outstanding final appearance before Tuesday's Midsummer Classic in Minneapolis.
Tim Hudson (7-6) wasn't nearly as sharp for San Francisco, with the onetime Oakland standout rocked for six runs and nine hits over 5 1/3 innings to drop a fourth consecutive decision.
Celebrity Breakups and divorces of 2014 [PHOTOS]