The Andes loop and how much it uses
Ten days covering Lima, Cusco, the Sacred Valley and Machu Picchu use data for ride apps, maps of Cusco's streets, train and site tickets, and photos. If your hotels have wifi, the 3 GB pack, valid for 15 days, is enough; if you would rather not watch the counter, take the 5 GB pack, valid for 30 days.
Two or three weeks that add Arequipa and the Colca Canyon, Puno and Lake Titicaca, or the desert at Paracas and Huacachina, fit the 10 GB pack. The 20 GB pack is for a month, for working from a laptop or for sharing with a travel partner. If you run low, top up the same eSIM; nothing is reinstalled. The data calculator works out a figure for your route.