Zach Randolph has agreed to a two-year, $20 million extension with the Memphis Grizzlies after he exercised his $16.5 million player option for the 14-15 season.

Randolph was considering opting out to test free agency.

Randolph has had the best success of his career with the Grizzlies and turns 33 in July. Randolph has been an All-Star in 2010 and 2013.