So with that confirmation, please note that the CAE is a nasty community tank fish if that is where it is living. They eat some algae in the beginning then like to start sucking on the slime coat of other fish and chasing/harassing them.
The Siamese Algae eater is a better selection, but they can get 5-6" and better for a very large tank.
If you have an algae problem there are probably better options. Less light, more water changes...and so on.