Make the crust dough: In a large bowl, whisk almond flour, coconut flour, powdered sweetener, salt, and xanthan gum.
Cut in the cold butter with a pastry cutter or your fingertips until the mixture looks like coarse crumbs. Stir in the egg and vanilla until it forms a dough. If dry, add 1–2 teaspoons cold water.
Chill: Divide dough into two disks (one slightly larger for the bottom crust).
Wrap and chill 45–60 minutes to firm up.
Prep the filling: In a saucepan, combine cherries, sweetener, lemon juice, vanilla, almond extract (if using), and salt. Cook over medium heat, stirring occasionally, until the cherries release juices and start to simmer, about 5–7 minutes.
Thicken: If using glucomannan, sprinkle it evenly over the simmering filling while whisking constantly. If using xanthan gum, mix it with 2 tablespoons cold water to make a slurry, then whisk into the filling.
Simmer 1–2 minutes until glossy and thick, like jammy pie filling. Remove from heat and cool to room temperature.
Preheat and prep pan: Heat oven to 350°F (175°C). Lightly grease a 9-inch pie dish.
Roll the bottom crust: Place the larger dough disk between two sheets of parchment.
Roll to about 1/8–1/4 inch thick. Peel the top parchment and flip the dough into the pie dish. Press gently to fit, patching any cracks with extra dough.
Trim edges flush with the rim.
Blind bake: Prick the base with a fork. Line with parchment and add pie weights or dried beans. Bake 10 minutes.
Remove weights and bake 5–7 more minutes until set but not browned. Cool 10 minutes.
Fill: Spoon the cooled cherry filling into the crust and spread evenly.
Top crust or lattice: Roll the second dough disk between parchment. For a full top crust, carefully transfer over the filling, trim, and crimp edges.
Cut a few slits for steam. For a lattice, slice into 1-inch strips and weave over the filling. Brush with egg wash and sprinkle a pinch of sweetener if you like.
Bake: Place the pie on a baking sheet.
Bake 25–35 minutes until the crust is golden and the filling is bubbling around the edges. If edges brown too fast, cover with foil.
Cool completely: Let the pie cool at least 2–3 hours so the filling sets. Slice gently with a sharp knife.
Serve as is or with whipped cream.