Spray the inside of a microwave-safe mug with cooking spray.
Add the butter and microwave 15 seconds to melt.
Add the almond flour, cocoa powder, sweetener, baking powder and salt and stir to blend.
Add the egg, almond milk and vanilla and mix until smooth. Stir in the chocolate chips.
Press the raspberries into the top of the batter. Don't stir them in.
Microwave 60 seconds, then in 10-second bursts until the cake between the berries springs back, about 75 to 90 seconds total. Let it cool a minute, since the mug will be hot.