The board of county commissioners of the county of Anoka may allow the incarceration and maintenance of prisoners for any city or township located within the county free of charge, and a determination of whether or not a charge shall be made for the incarceration and maintenance of prisoners within the county jail for cities and townships of said county shall be for the board of county commissioners of the county of Anoka to determine.