Did you ever wish for a cupcake in the middle of the night?

New York City residents who do are now in luck.

A 24-hour cupcake dispenser is opening today on Lexington Avenue between 60th and 61st Streets

It's just like an ATM machine except that it's bright pink and dispenses red velvet, dark chocolate and 18 other gourmet cupcake flavors instead of cash.

Each cupcake from Nelson's Sprinkles Cupcake Bakery costs $4.25

The dispenser will be refilled at least twice a day and holds 760 cupcakes at a time.