Preheat oven to 350 degrees and grease a 9” pie plate.
In a large bowl, mix the almond flour, sweetener, lemon zest, xanthan gum, baking powder, baking soda, salt, and flaxseed flour until thoroughly combined.
Add butter, vanilla extract, and eggs to the dry ingredients, and mix thoroughly into a batter. Add raspberries last and gently fold into batter.
Spoon batter into your greased pie plate, then bake for 30-40 minutes.