Catalyzes the phosphorylation of thiamine to thiamine phosphate. ATP + thiamine = ADP + H(+) + thiamine phosphate Cofactor biosynthesis; thiamine diphosphate biosynthesis; thiamine phosphate from thiamine: step 1/1. Belongs to the thiamine kinase family.