The city or county may impose a fee pursuant to Chapter 8 (commencing with Section 66016) of Division 1 of Title 7 for recovery of costs under this article. The fee shall not exceed an amount necessary to recover the reasonable cost of services provided by the city or county under this article.