Most wholesale bakeries sell their cakes and pastries at a lower cost because they accept bulk orders. Their transactions have a higher value than retail sellers. This is how they remain profitable. It is also possible for a wholesale bakery to offer close to retail cost if you have special requests like ingredients that may be difficult to source or customised cupcakes.