You asked:

is cayenne pepper the same as chili powder

No. Cayenne pepper is not equal to Chili powder.
Chili powder