Chris Gomez, who doubled in a four-run first, tripled and scored as Milwaukee scored four times in the second with help from a fielding error by shortstop Erick Aybar.
Kazmir gave up 10 runs — eight earned — and eight hits in five innings. He struck out four and walked two.
Randy Wolf made his fifth start of the spring for Milwaukee. He allowed six hits and four runs with three strikeouts and two walks over 5 1-3 innings.
Peter Bourjos and Maicer Izturis hit back-to-back solo homers off Wolf in the fifth.