It's a good week for food and travel–a new L.A. boutique is slinging 24-karat gold marshmallows, yesterday was waffle day. And now, the Upper East Side bakery Sprinkles has just unveiled a 24-hour cupcake ATM, the first of its kind in New York City.

Andrew Burton/Staff

The machine can hold 760 cupcakes at a time in 20 different varieties including banana dark chocolate, cinnamon sugar, red velvet, and Cuban coffee. Just like a bank ATM, you make your selection, swipe your credit card, and your treat is "dispensed" in a pink-and-brown box. Each cupcake costs $4.25, and you can even purchase mini cupcakes for your dogs (because Upper East Side), two for $5. Sprinkles assures customers that the ATM will be restocked two to three times a day, to ensure the cupcakes are as fresh as if they had been purchased directly in-store.

Cool as it is, it's actually not the country's first cupcake ATM. The first was opened by Sprinkles in Beverly Hills in 2012, and since then, ATMs have been installed in Chicago, Dallas, and Atlanta. (780 Lexington Ave; 212-207-8375; www.sprinkles.com)