Afghanistan will need vast amounts of foreign funding to keep its government afloat through 2024, a US agency said yesterday, even as foreign donors are increasingly angry over the cost of debilitating corruption and the US seeks a peace deal with Taliban to withdraw its troops from the country.