The chemical reactions and pathways resulting in the formation of chemokines, any of a subgroup of cytokines which act primarily on hemopoietic cells in acute and inflammatory processes and other immunoregulatory functions.