A baby Pacman will just need a critter keeper like the ExoTerra medium Breeding Box. Only when it reaches 3-3.5 in. can you move it to a 10G.

A large female Ornate or the rare Aurita can eventually exceed that tank size and require a 15 (or 20H); but even then, rarely a 20L .