6401010 in words is written as :

Six Million Thousand Ten