I'm not a breeder but from what I've learned on YT, it's best (and safest) to keep the pups until they are 12 weeks old. Of course, if there's a really tiny pup ... then maybe even longer then 12 weeks would be necessary.
Good luck with your little ones!