Looks like the default changed in April of this year: https://vercel.com/changelog/faster-defaults-for-vercel-function-cpu-and-memory
6 replies
@zachleat uhhhhhh “sure more cpu means more money but faster execution time eh eh?” Sure seems like a dark pattern when they round the execution times up, right?
@cthos yeah, that part but also these are maximums—it’d be nice to see CPU or memory utilization metrics at the current vCPU setting
@zachleat The math does get a little fuzzy, even AWS has some "interesting" guidance for this: https://docs.aws.amazon.com/lambda/latest/operatorguide/computing-power.html
I made a little chart comparing how a few different hosts charge for serverless execution time (normalized to hours of usage) and the vCPU default can cost you a lot of unnecessary money if you’re not paying attention!