Preheat the air fryer to 275 degrees F / 135 degrees C.
In a bowl, cream butter and sugar together until fluffy, then stir in the eggs and chocolate sauce. You can also use a stand mixer.
In a separate bowl, combine flour, hot chocolate mix, and baking soda.
Slowly add the dry ingredients to the wet ingredients, mixing until well combined.
Line the air fryer basket with silicone baking cups and add batter until each is three-quarters of the way full.
Air fry for 15 minutes, or until a toothpick inserted into the center of the cupcakes comes out clean.
Allow the cupcakes to cool, then top with frosting, if desired.