Quincy Miller will sign a two-year contract with the Detroit Pistons on Thursday morning, including a partial guarantee on nearly $1 million for next season, a league source told RealGM.

Miller will sign a prorated deal for the veteran’s minimum this season, with the same terms for 2015-16. Stan Van Gundy told reporters on Wednesday night that the Pistons planned to keep Miller for the rest of the season and into the summer.

Miller joined the Pistons on Feb. 21 under the first of two 10-day contracts. The 6-foot-10 forward has yet to appear in a game for Detroit, but has played two contests for Grand Rapids, the Pistons’ NBA D-League affiliate.

Miller earned a call up with the Sacramento Kings this season after entering the D-League through the Reno Bighorns. He spent the past two seasons with the Denver Nuggets, who drafted Miller in the second round of the 2012 draft.