James Anderson scored 28 points to help Oklahoma State beat Stanford 71-70 on Wednesday night as part of the Big 12/Pac-10 Hardwood Series.
Obi Muonelo added a season-high 20 points for the Cowboys (9-1), who won their third straight since losing to Tulsa two weeks ago.
Landry Fields had 22 points and 12 rebounds for the Cardinal (5-4), which lost for the second time in six home games. Jeremy Green added 19 points, and Andrew Zimmerman had 14.
The Big 12 owns a 9-2 record in the series, with Stanford's game at Texas Tech on Tuesday the only remaining contest.
Stanford closed the first half on a 9-2 run over the final 3 minutes to pull within 35-30 at intermission.