They look similar in shape but pyramid snails are tiny in comparrison. Ceriths can be measured in centimeters, pyramids in millimeters. The photo below are pyramid snails in relation to the size of a dime:
Keep an eye on that clam and any starfish you may have. If they are pyramids, there's bound to be more in your tank. BTW six-Line wrasses will eat them.