Oregon State took the lead for good, 40-38, on Cunningham's two free throws 11 seconds after halftime.
A Starks 3-pointer later put the Beavers ahead seven, and Oregon State got the lead to 10 for the first time, 60-50, on two more Cunningham foul shots with 12:23 remaining.
The Beavers went ahead by as many as 16 before Cal scored 12 straight, including two 3-pointers by Allen Crabbe and a four-point play by Gutierrez, to close within 77-73 with five minutes left.
But the Beavers scored the next four and the Golden Bears got no closer than six the rest of the way.
After a season that saw his shooting numbers slip, should Nigel Hayes return for his senior year at Wisconsin or take the gamble to put him name in this year's NBA draft?
Isaiah Taylor talks about his decision to declare for the NBA draft and what he will miss most about Texas.
Chattanooga women's basketball coach Jim Foster has received a one-year contract extension, the same day the school gave the men's coach a two-year extension.