The Dolphins signed restricted free-agent running back C.J. Anderson to a four-year offer sheet, an NFL source confirmed Thursday.

CBS Sports reported the deal is worth $18 million.

“God is good thank you,” Anderson tweeted.

The Broncos had placed a low-round tender on Anderson worth $1.671 million for 2016. The Broncos have five days to match Miami’s offer, but the likelihood of them meeting that price is slim.

This differs from the second-round tender used on inside linebacker Brandon Marshall, which is worth $2.355 million and gives the Broncos a second-round draft pick if they don’t match an outside offer.

Anderson also drew interest from the Patriots, Lions, 49ers and Bears.

Former Broncos offensive coordinator Adam Gase became the Dolphins’ head coach in January, and their leading rusher, Lamar Miller, signed with the Texans as a free agent Wednesday.

The Broncos’ use of the low-round tender on Anderson was somewhat of surprise for a player who led his team in rushing yards (1,569), carries (331) and touchdowns rushing (13) the past two seasons and was selected to the 2014 Pro Bowl.

After losing starters Malik Jackson, Danny Trevathan and Brock Osweiler on Day One of free agency, the Broncos may lose their top running back.

Nicki Jhabvala: njhabvala@denverpost.com or @NickiJhabvala