Catalyzes the phosphorylation of thiamine to thiamine pyrophosphate (TPP). TPP is an active cofactor for enzymes involved in glycolysis and energy production. Plant leaves require high levels of TPP for photosynthesis and carbohydrate metabolism (By similarity). ATP + thiamine = AMP + H(+) + thiamine diphosphate Cofactor biosynthesis; thiamine diphosphate biosynthesis; thiamine diphosphate from thiamine: step 1/1. Belongs to the thiamine pyrophosphokinase family. Truncated N-terminus. Truncated N-terminus.