For some recipes, chili powder can be a reasonable substitute for chile peppers or ground chiles. However, it's important to remember that chile powder (not to be confused with chile powder) contains other ingredients that will alter the flavor of your dish. If you don't want a your dish to taste like cumin, it's probably best to choose chile peppers or ground chiles.