Real-time data from the Pi Network blockchain, such as bonus statistics, node counts, migrations, transaction counts, and volumes, are used to calculate the effort cost for a one Pi to mine. Additionally, market factors and news related to the Pi Network are taken into account. These inputs are processed by the PuPi AI language model.