In a large bowl, beat the butter and peanut butter together, with an electric mixer, until smooth and well blended. Add the brown sugar and granulated sugar. Beat until combined. Beat in the eggs and vanilla extract in 3 separate additions, making sure each one is incorporated before adding the next. Stir in the flour mixture just until combined.