Execution Limits
Request timeout. A function must respond within the timeout or the request is terminated with a
504 Gateway Timeout. The timeout is not set in func.toml — there is no timeout_seconds field. Budget your own upstream calls below the platform limit (for example, a 25-second timeout on outbound requests) so you can return a real error instead of a 504.
Memory. Each container has a fixed allocation. Exceed it and the container is terminated; the next request starts a fresh one (a cold start). Stream large payloads instead of buffering them, and don’t let in-memory caches grow unbounded — memory is per-container and disappears on restart anyway. For durable state, see Where state lives.
Function Limits
The code size limit includes dependencies after compression. If you hit it: remove unused dependencies, exclude development dependencies from the shipped directory, or split into multiple functions.
Network Limits
The outbound connection count covers HTTP/HTTPS requests, database connections, and TCP sockets. Since a container serves many requests over its lifetime, open clients and connection pools once at module scope and reuse them across requests rather than reconnecting per invocation.
Rate Limits
Function creation is also rate limited:
telnyx-edge new-func registers the function server-side at scaffold time, and rapid successive calls return 429. Wait and retry.
There is no hard cap on concurrent invocations — the platform scales containers with traffic. Each new container pays a cold start, so sharply spiky traffic sees higher tail latency.
Account Limits
Total requests and CPU time are usage-billed with a monthly free tier — see Pricing.
Need higher limits? Contact support@telnyx.com.
KV Storage Limits
KV Best Practices is the authoritative KV limits page. For values over 1 MiB, store the object in Cloud Storage and keep a reference in KV.
When a Limit Is Exceeded
Related
- Pricing — free tier and usage rates
- Execution Model — container lifecycle and cold starts
- KV Best Practices — full KV limits and guidance