The federal government has not revealed where the money for its 50 per cent contribution will come from.

Prime Minister Anthony Albanese and NSW Premier Chris Minns are expected to travel to Tomago just outside Newcastle to announce the deal on Thursday.

Anthony Albanese and NSW Premier Chris Minns are poised to sign a bailout agreement for the beleaguered Tomago aluminium smelter, ending months of uncertainty for workers.