What type of consumer is an caterpillar?

A caterpillar is a primary consumer. Caterpillars eat plant leaves, and in turn are eaten by other small animals, such as birds.