it's not infinite, it's just very big. 30 million blocks to be precise
it's infinity since it creates voxels only when you reach out of the current placed chunk
It has a worldborder also it **can have** up to 5.76e+16 blocks which is crazy
yeah didn't though of that...