It can be spelled either way. Chili is the typical way you will see it spelled in the US. Other European countries will use a chilli spelling.