The average life expectancy of the population would determine together with inflation and interest the maximum amount you'd be able to borrow. A rough calculation at $1,000 UBI a month would give you around $500K available to borrow at 18 and you'd pay back around 750k till you die at 82.