Provided herein is a pharmaceutical formulation comprising a protein based excipient in combination with an active pharmaceutical ingredient (API) wherein said formulation is substantially amorphous and form a substantially homogenous mixture; and further a method for producing said pharmaceutical formulation; and said pharmaceutical formulation for use as a medicament.