In a large bowl, beat butter and cream cheese with an electric mixer on medium speed until well combined. Add sugar and beat 2 minutes until light and fluffy. Add eggs one at a time, beating well after each addition. Add vanilla and beat until well combined. Add flour mixture and beat on low speed for 1 minute, scraping bottom and sides of bowl as needed. Fold in chopped cranberries. Divide batter evenly among pan cavities, smoothing tops.