Prep the ramekins: Preheat the oven to 400°F (200°C). Grease four 6-ounce ramekins well with butter or coconut oil. Lightly dust with cocoa powder to help the cakes release cleanly.
Melt the chocolate and butter: In a heat-safe bowl, combine 3 ounces sugar-free chocolate and 6 tablespoons butter.
Microwave in 20–30 second bursts, stirring between each, until smooth. Set aside to cool slightly.
Mix dry ingredients: In a separate bowl, whisk 1/3 cup almond flour, 1/4 cup unsweetened cocoa powder, 1/3 cup granular keto sweetener, 1/2 teaspoon baking powder, a pinch of salt, and 1/4 teaspoon espresso powder (optional).
Whisk the eggs: In another bowl, whisk 2 large eggs with 1 teaspoon vanilla until slightly frothy. This helps the cakes puff.
Combine wet and dry: Pour the melted chocolate mixture into the eggs, whisking steadily.
Add the dry ingredients and stir until smooth and glossy. The batter will be thick but pourable.
Make the peanut butter centers: Scoop 4 rounded teaspoons of natural peanut butter onto a parchment-lined plate. Freeze for 5–10 minutes to firm up.
This helps keep the center molten without leaking.
Assemble: Spoon about 2 tablespoons of batter into each ramekin. Place a frozen peanut butter scoop in the center of each. Cover with remaining batter, dividing evenly.
The peanut butter should be fully enclosed.
Bake: Place the ramekins on a baking sheet and bake for 9–11 minutes. The edges should look set and puffed, while the centers remain slightly soft and jiggly. Do not overbake or you’ll lose the lava effect.
Rest and release: Let the cakes sit for 1–2 minutes. Run a thin knife around the edge, invert onto a plate, and gently lift off the ramekin.
Dust with powdered keto sweetener or cocoa if you like.
Serve immediately: Enjoy warm with a small spoon. Optional toppings: a dollop of unsweetened whipped cream, a few raspberries, or a drizzle of melted sugar-free chocolate.