Negotiations over a potentially historic deal at the COP 27 UN climate summit in Egypt continued over the weekend.
There was no deal by Friday and the conference was extended.
The question of who will pay for the damage caused by climate change has been a sticking point.
Negotiating teams said late on Saturday that the problem had been solved, but no agreement was announced.
Host nation Egypt said it wanted the deal to be done before the end of the night, but negotiations told reporters that an agreement was still some way off.
COP 27 is on track to become one of the longest summits in history.
Negotiations continued even after the venue in the resort city was torn down.
Developing countries have been calling for a dedicated fund to pay for the effects of climate change for a long time.
It will be a historic victory for those nations if a deal is reached, which will help reduce the burden of recent flooding in Pakistan and Nigeria.
Late on Thursday night the EU said it could agree to this on certain conditions.
The EU argued that everyone who could afford it should make a contribution.
Questions were raised about the definition of developing countries.
Thirty years ago, a commitment was made that rich nations should help reduce carbon emissions. The landscape has changed a lot since then, and some developing countries have become richer.
The US is working on a proposal to help developing countries meet the costs of climate change.
Pakistan's climate minister said negotiators were close to a positive outcome.
Fossil fuel pledges were included on the table.
The agreement to phase down the use of coal was made at last year's COP26 in Glasgow.
A proposal has been made to add oil and gas to the list.