Preheat and prep: Heat oven to 350°F (175°C). Grease a 9x9-inch baking dish or a deep 8x8-inch dish.
Make the pumpkin base: In a large bowl, whisk together pumpkin puree, eggs, heavy cream, 1/2 cup granulated keto sweetener, 2 teaspoons vanilla, 2 teaspoons pumpkin pie spice, and 1/4 teaspoon salt until smooth.
Pour into the dish: Spread the pumpkin mixture evenly in the prepared baking dish.
Mix the topping: In a separate bowl, combine almond flour, remaining 1/6 cup granulated sweetener (about 2 tablespoons), baking powder, remaining 1/4 teaspoon salt, and chopped nuts if using. Stir in melted butter until the mixture looks like moist crumbles.
“Dump” and spread: Sprinkle the almond flour mixture evenly over the pumpkin base.
Don’t press it down too hard—lightly level it with your fingers or a spoon.
Bake: Place on the center rack and bake 40–50 minutes, until the topping is golden and the pumpkin layer is set at the edges but slightly jiggly in the center.
Cool properly: Let it cool at room temperature for at least 30–45 minutes. The filling will continue to set as it cools.
Chill for clean slices: For the neatest cuts, refrigerate at least 2–3 hours or overnight. Serve chilled or gently warmed.
Finish and serve: Dust with powdered keto sweetener if you like, and add a dollop of whipped cream.
Slice and enjoy.