Cost Thinking (Back-of-Envelope)
Serverless charges by duration × memory/CPU setting × invocations (exact math varies). Compare:
- A small VM 24/7 could cost X/month even when idle.
- A function that runs only on requests might cost far less if traffic is sporadic.
