Preheat the oven to 350°F (177°C) and line two 9-inch round cake pans with parchment paper, greasing the bottoms and sides.
In a large bowl, use a hand mixer to cream together the butter and Besti until fluffy, then beat in the molasses (if using), vanilla extract, and pineapple extract (if using), followed by the eggs, one at a time.
In a separate bowl, whisk together the almond flour, baking powder, cinnamon, and sea salt before stirring into the wet ingredients.
Gently fold in the grated carrots and 1 cup of chopped pecans, reserving the remaining pecans for later.
Divide the batter evenly between the prepared pans and bake for 25-30 minutes, swapping the pans’ positions halfway through, until golden brown and a toothpick inserted in the center comes out clean.
Allow the cakes to cool in the pans for 10 minutes before transferring them to a wire rack to cool completely.
Meanwhile, prepare a keto cream cheese frosting, doubling the recipe as needed.
Once the cakes reach room temperature, place one layer on a serving plate or cake stand, frost the top, add the second layer, and frost again.
Finish by sprinkling the remaining chopped pecans over the top.