Enables 5-aminolevulinate synthase activity. Involved in several processes, including cellular response to insulin stimulus; response to herbicide; and response to nickel cation. Located in mitochondrion. Biomarker of porphyria and pulmonary hypertension. Orthologous to human ALAS1 (5'-aminolevulinate synthase 1). [provided by Alliance of Genome Resources, Apr 2022]