Preheat the air fryer: Preheat the air fryer to 375°F (190°C).
Whisk together the dry ingredients: In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.
Cream together the peanut butter and butter: In a large bowl, use an electric mixer to cream together the peanut butter and butter until smooth and creamy.
Add the sugars and eggs: Gradually add the granulated sugar and brown sugar to the peanut butter mixture, beating until well combined. Beat in the eggs and vanilla extract.
Mix in the dry ingredients: Gradually mix in the dry ingredients until a dough forms.
Scoop the dough: Scoop the dough into balls, about 1 tablespoon each. Place the balls onto a piece of parchment paper or a lightly floured surface.
Air fry the cookies: Place the cookies in a single layer in the air fryer basket. Cook for 5-7 minutes, or until the edges are lightly golden brown.
Cool the cookies: Remove the cookies from the air fryer and let them cool on a wire rack for 5-10 minutes.