In the United States, people are being arrested for clapping at planning meetings about AI data centres. In Pakistan, the government is rolling out the welcome mat.

In May last year, the finance ministry allocated 2,000 megawatts of electricity, roughly the demand of a small city, to power bitcoin mining and AI data centres. The pitch was simple. Pakistan has more power plants than it can use, so why not sell the spare capacity to industries that run around the clock? Since then, Gul Ahmed’s energy group has announced a $230m data centre, the country’s largest, with Huawei as a partner. China Mobile’s Pakistani arm, Zong, is building an AI-ready facility in Karachi.

The logic is not entirely wrong. Pakistanis already pay for idle power plants through capacity payments built into their electricity bills, and a reliable buyer for unused capacity could ease that burden. Neighbouring countries are racing ahead: Malaysia has attracted more than $15bn in data centre commitments and Indonesia more than $12bn. Overseas, connecting new facilities to the grid can take three to 10 years, which pushes companies to look elsewhere. Pakistan is right to want a share.

The problem is the terms. Zong has already asked the government for a special electricity tariff, arguing that high energy costs make its data centres uncompetitive. That is a reasonable thing for a business to request. But if data centres get discounted power while households and textile mills pay full price, the surplus that ordinary people are already funding becomes a subsidy for foreign tech firms. That isn’t using idle capacity. It’s moving the bill onto everyone else.

The other costs deserve more attention than they get. Much of the “surplus” initially on offer comes from coal plants such as Sahiwal and Port Qasim, so a data centre boom here risks running on some of the dirtiest power available. Data centres also need large amounts of water for cooling, and Pakistan can hardly spare it. And they employ surprisingly few people once construction ends. A huge server hall can run with a few dozen staff.

Then there’s security. In 2021, hackers breached the Federal Board of Revenue’s data centre, and Pakistan still ranks only 50th on the International Telecommunication Union’s cybersecurity index. Companies trusting the country with their data will want better than that, and so should Pakistani citizens whose records sit in these buildings.

Even the IMF had doubts. When the 2,000MW plan was announced, the fund asked the finance ministry for urgent clarification, reportedly because it had not been consulted beforehand.

None of this means Pakistan should say no. It means the deals should be made in public and on fair terms. Data centres should pay a tariff that covers the full cost of their power, not a discounted one. New capacity should be tied to solar and wind rather than old coal. Licences should require training local engineers, not just importing foreign staff. And contracts should be published, so that people paying for capacity charges can see what they are getting in return.

Americans are protesting because data centres arrived first and the questions came later. Pakistan still has time to ask those questions first.