PORT; one command builds and ships it.
index.ts
Quickstart
Install the CLI, scaffold a function, ship it, and curl the live URL — about five minutes.
The platform around your functions
Declare a binding infunc.toml and it surfaces on env at runtime in TypeScript, or as REST and injected environment variables in every other language. See Bindings for the mechanics — these are the products worth reaching for.
State and storage
KV
Globally distributed key-value storage with server-side TTL — an
env binding in TypeScript, REST everywhere else. For caches, sessions, and feature flags.Stateful Actors
Beta — durable per-entity state and coordination: one instance per name, one call at a time. For counters, per-user state, and anything that needs a serialized owner.
Object storage
S3-compatible buckets for files and media — a separate product, reached over its S3 API from any language.
Telnyx API
A pre-authenticated client for Voice, Messaging, and AI — or plain REST with the injected key. Answer calls, send messages, and run inference without managing credentials.
Edge Network
Reach private infrastructure over a WireGuard mesh, so a function can talk to systems that never touch the public internet.
Languages
telnyx-edge new-func -l <language> scaffolds a project in TypeScript (ts), JavaScript (js), Go (go), Python (python), or Java (quarkus). Each language uses its own standard server contract — node:http, Go’s http.Handler, ASGI, Quarkus Funqy — documented in HTTP handler.
The binding SDK (@telnyx/edge-runtime) — a typed env exposing a pre-authenticated Telnyx client, secrets, and KV namespaces — is TypeScript-only today. The other runtimes use the same features over REST and injected environment variables.
Where your code runs
Functions run on the infrastructure that carries Telnyx voice and messaging traffic: edge sites inside carrier facilities, close to end users rather than in generic cloud availability zones. Each region is backed by multiple independent sites across different providers, with automatic failover if a site goes down.Resources
HTTP handler
The entrypoint contract for each language.
Configuration
Environment variables, secrets, routing, and versions.
CLI reference
Every
telnyx-edge command and flag.Limits
Request timeouts, payload sizes, and quotas.
Pricing
Free tier plus usage-based rates for requests and CPU time.
Community
Ask questions and share what you build.