I read on Travel.state.gov international travel:
Your length of approved stay will be determined by border officials at the time of entry, and can range from 30 to 183 days. Extensions for tourists are usually not approved, and overstays result in fines.
How do Peruvian officials determine how long tourists entering Peru are allowed to stay? Assume the tourist is a US citizen.