Preheat the oven to 180°C (356°F).
Mix almond flour, erythritol, and baking powder in a bowl.
Add eggs, melted coconut oil, and vanilla extract, and mix thoroughly.
Pour the batter into the cake pan.
Bake in the oven for 25–30 minutes.
Let it cool, then slice for serving.