Serverless Quickstart
Learn how to use Lettr in serverless environments.Overview
Lettr is designed to work seamlessly in serverless environments. Our lightweight SDKs and fast API response times make it perfect for:- AWS Lambda
- Cloudflare Workers
- Vercel Functions
- Netlify Functions
- Google Cloud Functions
Key Considerations
Cold Starts
Cold Starts
Our SDKs are optimized for minimal cold start impact. Connection pooling is handled automatically.
Timeouts
Timeouts
Lettr’s API typically responds within 100-300ms, well within most serverless timeout limits.
Environment Variables
Environment Variables
Always store your API key in environment variables, never in code.