Klay Thompson helped out with 19 points and Stephen Curry chipped in with 17 as the Warriors ended a two-game losing streak.
Andrew Bogut returned from a 40-game absence due to an ankle injury to put in 12 points for Golden State.
The Raptors got 22 points and 10 rebounds from Aaron Gray, but it wasn't enough to prevent their seventh setback in nine games.
DeMar DeRozan (21 points, nine assists) and Ed Davis (12, nine rebounds) also reached double figures for Toronto.
Swim Week Miami Beach 2014 [PHOTOS]