Timing chain replacement average cost

I have a 2015 328i with 85k miles and the timing chain is going on it.

The dealership quoted me for $5200 and another local reputable store quoted me for 4700$.

Is this an average cost for the job?

I live in northeastern US

Thanks for any help.