Optimizing Vercel Functions With Upstash Workflow
This demo shows the cost-saving benefits of using Upstash Workflow for Vercel functions. It compares two methods of calling an image generation API:
- - Method 1: Calling the API in a standard Vercel function
- - Method 2: Calling the API using Upstash Workflow
Both methods start at the same time and take about the same time to finish. The key difference is the estimated cost per 1M requests (hover for details).
Prompt: A futuristic city skyline at dusk, with towering skyscrapers and flying vehicles in the style of retro sci-fi art. Colors should feature deep purples, bright neon pinks, and glowing electric blues.