Gather the ingredients needed
Prepare your 7-inch Air Fryer baking pan by spraying it with cooking oil and dusting it with flour.
In a large mixing bowl, combine flour, cocoa powder, sugar, butter, eggs, vegetable oil, vanilla, salt, and baking powder.
Stir in pecans.
Pour batter into your prepared baking pan.
Drizzle caramel over top. Using a toothpick, swirl it around.
Air fry at 330ºF for 25 minutes or until a toothpick comes out clean.
Allow to cool then serve and enjoy