Yes, it’s free! You don’t pay anything to upload your book. KDP makes money by taking a cut of each sale (you keep the rest as royalties).