# Telnyx Compute — Documentation Index > Edge compute functions, runtime bindings, stateful actors, and private networking. One section of the Telnyx developer docs (https://developers.telnyx.com). > Root index: https://developers.telnyx.com/llms.txt · Full content for this section: https://telnyx.com/llms/compute-full.txt ## Subsections Focused per-subsection files (index + full content): - [Overview](https://telnyx.com/llms/compute/overview.txt) ([full](https://telnyx.com/llms/compute/overview-full.txt)) - [Functions](https://telnyx.com/llms/compute/functions.txt) ([full](https://telnyx.com/llms/compute/functions-full.txt)) - [Stateful Actors (Beta)](https://telnyx.com/llms/compute/stateful-actors-beta.txt) ([full](https://telnyx.com/llms/compute/stateful-actors-beta-full.txt)) - [Network](https://telnyx.com/llms/compute/network.txt) ([full](https://telnyx.com/llms/compute/network-full.txt)) ## Overview - [Edge Compute](https://developers.telnyx.com/docs/edge-compute/platform-overview.md): Edge Compute is Telnyx's platform of compute primitives — functions, stateful actors, KV, object storage, and SQL — for building and deploying applications to the Telnyx edge. It's particularly power… ## Functions - [Functions](https://developers.telnyx.com/docs/edge-compute/overview.md): Functions are the compute primitive of Telnyx Edge Compute — an HTTP server in a container, deployed to Telnyx's edge network and wired to KV, stateful actors, object storage, and the Telnyx API. - [Quickstart](https://developers.telnyx.com/docs/edge-compute/quickstart.md): Install the CLI, scaffold a function in the language of your choice, ship it, and curl the live URL — about five minutes. - [Best Practices](https://developers.telnyx.com/docs/edge-compute/best-practices.md): Production patterns for Edge Compute functions — configuration, connection reuse, KV caching, state placement, error handling, and observability without a platform logging surface. - [Local Development](https://developers.telnyx.com/docs/edge-compute/development.md): Edge Compute functions are ordinary programs in containers — run and test them locally with each language's native tooling; a standalone function needs no emulator. - [Configuration](https://developers.telnyx.com/docs/edge-compute/configuration.md): Every function is configured through one TOML manifest — func.toml or telnyx.toml. This is the complete reference: the identity block, environment variables, and every binding declaration, with links… - [Environment Variables](https://developers.telnyx.com/docs/edge-compute/configuration/environment-variables.md): Functions run as containers, so configuration arrives as ordinary environment variables — declared in the project manifest, injected from secrets and bindings, or set by the platform. - [Secrets](https://developers.telnyx.com/docs/edge-compute/configuration/secrets.md): Organization-scoped values for sensitive data, managed with the CLI. Every function receives them as environment variables; TypeScript functions can also read them through a typed binding. - [CI/CD](https://developers.telnyx.com/docs/edge-compute/deploy.md): Deploy Edge Compute functions from CI: install a pinned CLI release, authenticate with an API key, and ship — working pipelines for GitHub Actions, GitLab CI, and CircleCI. - [Routes & Domains](https://developers.telnyx.com/docs/edge-compute/configuration/routing.md): Every deployed function gets a public HTTPS URL — https://{func-name}-{org-nickname}.telnyxcompute.com — and HTTP requests to that URL are the only way a function is invoked. - [Versions & Rollback](https://developers.telnyx.com/docs/edge-compute/configuration/versions.md): Every successful ship produces an immutable revision. revisions list shows a function's deploy history; rollback instantly retargets traffic to a previous revision — no rebuild, no re-upload. - [Overview](https://developers.telnyx.com/docs/edge-compute/runtime.md): What the platform provides to your code at runtime — the container execution environment, the per-language entrypoint contract, and the bindings that connect your code to platform resources. - [Execution Model](https://developers.telnyx.com/docs/edge-compute/runtime/execution-model.md): Functions run as Linux containers scaled with traffic: cold starts, warm reuse, scale to zero, a 30-second (max 60) request budget, HTTP as the only trigger, and no durable memory. - [HTTP Handler](https://developers.telnyx.com/docs/edge-compute/runtime/http-handler.md): The per-language entrypoint contract — which file the platform runs, the signature you implement, who owns the HTTP server, and who answers health probes. - [Overview](https://developers.telnyx.com/docs/edge-compute/runtime/bindings.md): Typed, pre-authenticated handles to platform resources, resolved by the runtime from a manifest declaration. - [Overview](https://developers.telnyx.com/docs/edge-compute/telnyx-api.md): Call the Telnyx API from Edge Compute through a pre-authenticated binding — no API keys in your code. - [Quick Start](https://developers.telnyx.com/docs/edge-compute/telnyx-api/quick-start.md): Declare, type, and ship a function that returns your Telnyx account balance through the binding. - [API Reference](https://developers.telnyx.com/docs/edge-compute/telnyx-api/api-reference.md): The Telnyx API binding is a pre-authenticated client handle — discover its resources and methods through generated types or the client method reference. - [Receiving Messages](https://developers.telnyx.com/docs/edge-compute/telnyx-api/receiving-messages.md): Handle inbound SMS on Edge Compute — your function is the messaging profile webhook, and replies go out on-net with no 10DLC campaign. - [Handling Calls](https://developers.telnyx.com/docs/edge-compute/telnyx-api/handling-calls.md): Answer inbound calls on Edge Compute via Call Control — your function is the Call Control app webhook; answer the call and play audio. - [Observability](https://developers.telnyx.com/docs/edge-compute/observability.md): There is no platform logs, metrics, or traces surface today — observability is the CLI's control-plane views, your function's /health endpoint, and structured events your function emits to a sink you… - [CLI Reference](https://developers.telnyx.com/docs/edge-compute/reference/cli.md): Every CLI command in v0.2.3 — install from GitHub release binaries, authenticate, scaffold, deploy, and manage revisions, secrets, bindings, storage, and actor types. - [Pricing](https://developers.telnyx.com/docs/edge-compute/platform/pricing.md): Telnyx Edge Compute functions bill on two meters — requests and CPU time — with a monthly free tier of 3.6M requests and 36M CPU-milliseconds. - [Limits](https://developers.telnyx.com/docs/edge-compute/platform/limits.md): Resource limits for Telnyx Edge Compute functions: request timeout (30 s default, 60 s max), memory, body size, code size, deployment rate, and KV storage caps. ## Stateful Actors (Beta) - [Stateful Actors](https://developers.telnyx.com/docs/edge-compute/stateful-actors.md): A stateful actor is a single-threaded server that owns one entity's state. The platform runs one instance per name, routes every call for that name to it, runs your methods one at a time, and persist… - [Stateful Actors Quick Start](https://developers.telnyx.com/docs/edge-compute/stateful-actors/quick-start.md): Scaffold an Account Stateful Actor, deploy it, and prove per-account isolation, safe concurrent debits, and persistence. - [How It Works](https://developers.telnyx.com/docs/edge-compute/stateful-actors/concepts/how-it-works.md): A stateful actor is a single-threaded server with durable, flush-before-ack storage — one per entity. Derive the execution model from first principles, then map it mechanism-by-mechanism to what you'… - [Execution Model](https://developers.telnyx.com/docs/edge-compute/stateful-actors/concepts/execution-model.md): The four guarantees a stateful actor's runtime makes: exactly one instance per name, one call at a time, writes durable before the caller sees a result, and only persisted state survives. Each maps t… - [Lifecycle & Placement](https://developers.telnyx.com/docs/edge-compute/stateful-actors/concepts/lifecycle.md): Where a stateful actor instance runs, when it is activated and evicted, and what survives a restart. Instances are placed on first touch, evicted when idle, and restarted on deploy or host failure —… - [Addressing](https://developers.telnyx.com/docs/edge-compute/stateful-actors/concepts/addressing.md): Reach a stateful actor instance by name. idFromName is deterministic — the same name always lands on the same instance; newUniqueId mints a fresh one. Both return a stub you call methods on. - [Overview](https://developers.telnyx.com/docs/edge-compute/stateful-actors/api-reference.md): The Stateful Actor API surface — the StatefulActor base class, ActorContext, per-instance storage, the actor binding (ActorNamespace / ActorStub), alarms, configuration, and errors. - [Base Class](https://developers.telnyx.com/docs/edge-compute/stateful-actors/api-reference/base.md): The StatefulActor base class — subclass it, declare async methods, and they become RPC-callable from a stub. Holds this.ctx and this.env. - [Actor Context](https://developers.telnyx.com/docs/edge-compute/stateful-actors/api-reference/context.md): The this.ctx object on a StatefulActor — the instance's identity, per-key storage, single alarm, and one-shot init. - [Actor Storage](https://developers.telnyx.com/docs/edge-compute/stateful-actors/api-reference/storage.md): Per-key persistent storage for a Stateful Actor, accessed as this.ctx.storage — get/put/delete/list/transaction plus the alarm API. Writes that return successfully are persisted. - [Actor Namespace](https://developers.telnyx.com/docs/edge-compute/stateful-actors/api-reference/namespace.md): The env. handle your function calls into — idFromName (deterministic) and newUniqueId (random), both returning an ActorStub. - [Actor Stub](https://developers.telnyx.com/docs/edge-compute/stateful-actors/api-reference/stub.md): The client handle returned by idFromName / newUniqueId. Calling a method on the stub is an RPC to that one actor instance. - [Actor Alarms](https://developers.telnyx.com/docs/edge-compute/stateful-actors/alarms.md): Schedule deferred work from inside a Stateful Actor method using the single per-actor alarm. At-least-once delivery with automatic redelivery on failure; make your handler idempotent. - [Configuration](https://developers.telnyx.com/docs/edge-compute/stateful-actors/api-reference/configuration.md): The telnyx.toml [[actors]] block that declares an actor binding — binding (the env property) and type (the class to instantiate per name). - [Errors](https://developers.telnyx.com/docs/edge-compute/stateful-actors/api-reference/errors.md): Errors the Stateful Actor runtime can surface — BlockConcurrencyTimeoutError, ActorOutputGateError, ActorMethodTimeoutError, ActorFetchTimeoutError, and CodecError. - [Project Structure](https://developers.telnyx.com/docs/edge-compute/stateful-actors/guides/project-structure.md): A Stateful Actor project is one module that exports two things — the actor class and a fetch handler — wired together by an [[actors]] binding in telnyx.toml. - [Local Development](https://developers.telnyx.com/docs/edge-compute/stateful-actors/local-development.md): Run a Stateful Actor project locally with telnyx-edge dev — a full function + actor stack in Docker where env. calls resolve and actor state survives hot reloads. - [Shared Actors](https://developers.telnyx.com/docs/edge-compute/stateful-actors/shared-actors.md): Reach one Stateful Actor type from multiple functions on the same account by declaring the same type under different bindings — the owner ships the class, the reference ships none. - [When to Use Stateful Actors](https://developers.telnyx.com/docs/edge-compute/stateful-actors/guides/when-to-use.md): Use a stateful actor when an entity has state that must be mutated coherently across many requests. Use a plain function for stateless work, and a database for cross-entity transactions or bulk queri… ## Network - [Network](https://developers.telnyx.com/docs/edge-compute/network.md): Connect Telnyx Edge Compute workloads and KV stores over a private WireGuard mesh network for secure low-latency intra-app traffic. - [Network Overview](https://developers.telnyx.com/docs/network/overview.md): Overview of Telnyx Programmable Networking — private networks, gateways (IGW, PGW, WGW, VXC), and how to build global software-defined connectivity. - [Coverage](https://developers.telnyx.com/docs/network/coverage.md): Check Telnyx Programmable Networking coverage by region and point of presence (PoP). View global PoP locations for cloud connectivity and SD-WAN deployments. - [Networks Configuration](https://developers.telnyx.com/docs/network/networks.md): Create and manage Telnyx Programmable Networks — private virtual networks that connect your sites, clouds, SIMs, and gateways with software-defined routing. - [WireGuard Gateway Setup](https://developers.telnyx.com/docs/network/gateways/wireguard-gateway.md): Configure a WireGuard Gateway (WGW) on Telnyx Networking to terminate WireGuard VPN tunnels from clients into your private cloud network. - [Linux Configuration](https://developers.telnyx.com/docs/network/wireguard-peer-config/linux.md): Configure a Linux device as a WireGuard peer to connect to a Telnyx WireGuard Gateway. Includes keys, peer settings, and systemd service setup. - [macOS Configuration](https://developers.telnyx.com/docs/network/wireguard-peer-config/macos.md): Configure a macOS device as a WireGuard peer to connect to a Telnyx WireGuard Gateway. Set up keys, peer endpoints, and the WireGuard macOS app. - [Windows Configuration](https://developers.telnyx.com/docs/network/wireguard-peer-config/windows.md): Configure a Windows device as a WireGuard peer to connect to a Telnyx WireGuard Gateway. Includes the WireGuard Windows client and tunnel config. - [Internet Gateway (IGW)](https://developers.telnyx.com/docs/network/gateways/internet-gateway.md): Configure an Internet Gateway (IGW) on a Telnyx network to provide internet egress for your private cloud, edge, or SD-WAN-connected resources. - [Private Wireless Gateway (PGW)](https://developers.telnyx.com/docs/network/gateways/private-wireless-gateway.md): Configure a Private Wireless Gateway (PGW) to route Telnyx IoT SIM traffic into your private network. Includes APN, IP, and policy configuration. - [VXC Introduction](https://developers.telnyx.com/docs/network/vxc/intro.md): Overview of Telnyx Virtual Cross Connect (VXC) availability, pricing, and API structure for connecting to AWS, Azure, and Google Cloud. - [Coverage & Availability](https://developers.telnyx.com/docs/network/vxc/coverage.md): Check Virtual Cross Connect (VXC) availability across cloud providers and regions using the Telnyx coverage API before provisioning. - [Pricing](https://developers.telnyx.com/docs/network/vxc/cost.md): Monthly recurring charges for Telnyx Virtual Cross Connects (VXC) by bandwidth tier, plus guidance on cloud provider connectivity costs. - [VXC API](https://developers.telnyx.com/docs/network/vxc/api.md): Provision and manage Virtual Cross Connects (VXC) on Telnyx Networking via API. Create direct cloud connections to AWS, GCP, Azure, and partner networks. - [AWS Direct Connect](https://developers.telnyx.com/docs/network/vxc/aws.md): Step-by-step guide to provisioning a Telnyx Virtual Cross Connect (VXC) to AWS Direct Connect, including VPC setup and BGP configuration. - [Google Cloud Interconnect](https://developers.telnyx.com/docs/network/vxc/gcp.md): Step-by-step guide to provisioning a Telnyx Virtual Cross Connect (VXC) to Google Cloud Interconnect, including VLAN attachment and BGP setup. - [Azure ExpressRoute](https://developers.telnyx.com/docs/network/vxc/azure.md): Step-by-step guide to provisioning a Telnyx Virtual Cross Connect (VXC) to Azure ExpressRoute, including circuit setup and BGP configuration. ## API Reference (Compute) ### Regions - [List all Regions](https://developers.telnyx.com/api-reference/regions/list-all-regions.md): List all regions and the interfaces that region supports ### Networks - [List all Networks](https://developers.telnyx.com/api-reference/networks/list-all-networks.md): List all Networks. - [Create a Network](https://developers.telnyx.com/api-reference/networks/create-a-network.md): Create a new Network. - [Retrieve a Network](https://developers.telnyx.com/api-reference/networks/retrieve-a-network.md): Retrieve a Network. - [Update a Network](https://developers.telnyx.com/api-reference/networks/update-a-network.md): Update a Network. - [Delete a Network](https://developers.telnyx.com/api-reference/networks/delete-a-network.md): Delete a Network. - [Get Default Gateway status.](https://developers.telnyx.com/api-reference/networks/get-default-gateway-status.md): Get Default Gateway status. - [Create Default Gateway.](https://developers.telnyx.com/api-reference/networks/create-default-gateway.md): Create Default Gateway. - [Delete Default Gateway.](https://developers.telnyx.com/api-reference/networks/delete-default-gateway.md): Delete Default Gateway. - [List all Interfaces for a Network.](https://developers.telnyx.com/api-reference/networks/list-all-interfaces-for-a-network.md): List all Interfaces for a Network. ### WireGuard Interfaces - [List all WireGuard Interfaces](https://developers.telnyx.com/api-reference/wireguard-interfaces/list-all-wireguard-interfaces.md): List all WireGuard Interfaces. - [Create a WireGuard Interface](https://developers.telnyx.com/api-reference/wireguard-interfaces/create-a-wireguard-interface.md): Create a new WireGuard Interface. Current limitation of 10 interfaces per user can be created. - [Retrieve a WireGuard Interfaces](https://developers.telnyx.com/api-reference/wireguard-interfaces/retrieve-a-wireguard-interfaces.md): Retrieve a WireGuard Interfaces. - [Delete a WireGuard Interface](https://developers.telnyx.com/api-reference/wireguard-interfaces/delete-a-wireguard-interface.md): Delete a WireGuard Interface. - [List all WireGuard Peers](https://developers.telnyx.com/api-reference/wireguard-interfaces/list-all-wireguard-peers.md): List all WireGuard peers. - [Create a WireGuard Peer](https://developers.telnyx.com/api-reference/wireguard-interfaces/create-a-wireguard-peer.md): Create a new WireGuard Peer. Current limitation of 5 peers per interface can be created. - [Retrieve the WireGuard Peer](https://developers.telnyx.com/api-reference/wireguard-interfaces/retrieve-the-wireguard-peer.md): Retrieve the WireGuard peer. - [Update the WireGuard Peer](https://developers.telnyx.com/api-reference/wireguard-interfaces/update-the-wireguard-peer.md): Update the WireGuard peer. - [Delete the WireGuard Peer](https://developers.telnyx.com/api-reference/wireguard-interfaces/delete-the-wireguard-peer.md): Delete the WireGuard peer. - [Retrieve Wireguard config template for Peer](https://developers.telnyx.com/api-reference/wireguard-interfaces/retrieve-wireguard-config-template-for-peer.md): Retrieve Wireguard config template for Peer ### Private Wireless Gateways - [Get all Private Wireless Gateways](https://developers.telnyx.com/api-reference/private-wireless-gateways/get-all-private-wireless-gateways.md): Get all Private Wireless Gateways belonging to the user. - [Create a Private Wireless Gateway](https://developers.telnyx.com/api-reference/private-wireless-gateways/create-a-private-wireless-gateway.md): Asynchronously create a Private Wireless Gateway for SIM cards for a previously created network. This operation may take several minutes so you can check the P… - [Get a Private Wireless Gateway](https://developers.telnyx.com/api-reference/private-wireless-gateways/get-a-private-wireless-gateway.md): Retrieve information about a Private Wireless Gateway. - [Delete a Private Wireless Gateway](https://developers.telnyx.com/api-reference/private-wireless-gateways/delete-a-private-wireless-gateway.md): Deletes the Private Wireless Gateway. ### Public Internet Gateways - [List all Public Internet Gateways](https://developers.telnyx.com/api-reference/public-internet-gateways/list-all-public-internet-gateways.md): List all Public Internet Gateways. - [Create a Public Internet Gateway](https://developers.telnyx.com/api-reference/public-internet-gateways/create-a-public-internet-gateway.md): Create a new Public Internet Gateway. - [Retrieve a Public Internet Gateway](https://developers.telnyx.com/api-reference/public-internet-gateways/retrieve-a-public-internet-gateway.md): Retrieve a Public Internet Gateway. - [Delete a Public Internet Gateway](https://developers.telnyx.com/api-reference/public-internet-gateways/delete-a-public-internet-gateway.md): Delete a Public Internet Gateway. ### Virtual Cross Connects - [List all Virtual Cross Connects](https://developers.telnyx.com/api-reference/virtual-cross-connects/list-all-virtual-cross-connects.md): List all Virtual Cross Connects. - [Create a Virtual Cross Connect](https://developers.telnyx.com/api-reference/virtual-cross-connects/create-a-virtual-cross-connect.md): Create a new Virtual Cross Connect.

For AWS and GCE, you have the option of creating the primary connection first and the secondary connection later… - [Retrieve a Virtual Cross Connect](https://developers.telnyx.com/api-reference/virtual-cross-connects/retrieve-a-virtual-cross-connect.md): Retrieve a Virtual Cross Connect. - [Update the Virtual Cross Connect](https://developers.telnyx.com/api-reference/virtual-cross-connects/update-the-virtual-cross-connect.md): Update the Virtual Cross Connect.

Cloud IPs can only be patched during the `created` state, as GCE will only inform you of your generated IP once th… - [Delete a Virtual Cross Connect](https://developers.telnyx.com/api-reference/virtual-cross-connects/delete-a-virtual-cross-connect.md): Delete a Virtual Cross Connect. - [List Virtual Cross Connect Cloud Coverage](https://developers.telnyx.com/api-reference/virtual-cross-connects/list-virtual-cross-connect-cloud-coverage.md): List Virtual Cross Connects Cloud Coverage.

This endpoint shows which cloud regions are available for the `location_code` your Virtual Cross Connect… ### Global IPs - [List all Global IPs](https://developers.telnyx.com/api-reference/global-ips/list-all-global-ips.md): List all Global IPs. - [Create a Global IP](https://developers.telnyx.com/api-reference/global-ips/create-a-global-ip.md): Create a Global IP. - [Retrieve a Global IP](https://developers.telnyx.com/api-reference/global-ips/retrieve-a-global-ip.md): Retrieve a Global IP. - [Delete a Global IP](https://developers.telnyx.com/api-reference/global-ips/delete-a-global-ip.md): Delete a Global IP. - [List all Global IP Allowed Ports](https://developers.telnyx.com/api-reference/global-ips/list-all-global-ip-allowed-ports.md): List all Global IP Allowed Ports - [Global IP Assignment Health Check Metrics](https://developers.telnyx.com/api-reference/global-ips/global-ip-assignment-health-check-metrics.md) - [List all Global IP assignments](https://developers.telnyx.com/api-reference/global-ips/list-all-global-ip-assignments.md): List all Global IP assignments. - [Create a Global IP assignment](https://developers.telnyx.com/api-reference/global-ips/create-a-global-ip-assignment.md): Create a Global IP assignment. - [Update a Global IP assignment](https://developers.telnyx.com/api-reference/global-ips/update-a-global-ip-assignment.md): Update a Global IP assignment. - [Delete a Global IP assignment](https://developers.telnyx.com/api-reference/global-ips/delete-a-global-ip-assignment.md): Delete a Global IP assignment. - [Global IP Assignment Usage Metrics](https://developers.telnyx.com/api-reference/global-ips/global-ip-assignment-usage-metrics.md) - [List all Global IP Health check types](https://developers.telnyx.com/api-reference/global-ips/list-all-global-ip-health-check-types.md): List all Global IP Health check types. - [List all Global IP health checks](https://developers.telnyx.com/api-reference/global-ips/list-all-global-ip-health-checks.md): List all Global IP health checks. - [Create a Global IP health check](https://developers.telnyx.com/api-reference/global-ips/create-a-global-ip-health-check.md): Create a Global IP health check. - [Retrieve a Global IP health check](https://developers.telnyx.com/api-reference/global-ips/retrieve-a-global-ip-health-check.md): Retrieve a Global IP health check. - [Delete a Global IP health check](https://developers.telnyx.com/api-reference/global-ips/delete-a-global-ip-health-check.md): Delete a Global IP health check. - [Global IP Latency Metrics](https://developers.telnyx.com/api-reference/global-ips/global-ip-latency-metrics.md) - [List all Global IP Protocols](https://developers.telnyx.com/api-reference/global-ips/list-all-global-ip-protocols.md): List all Global IP Protocols - [Global IP Usage Metrics](https://developers.telnyx.com/api-reference/global-ips/global-ip-usage-metrics.md)