---
title: Functions - Run Code at the Edge on Owned Infrastructure | Telnyx
canonical: https://telnyx.com/products/functions
---
# Functions - Run Code at the Edge on Owned Infrastructure | Telnyx

**EDGE COMPUTE**

# Functions

Deploy containerized code to the edge with one command. Any language, any runtime, bindings to storage and the Telnyx API.

[Start Building](https://telnyx.com/sign-up)[CONTACT US](https://telnyx.com/contact-us)

WHY TELNYX

## Not just compute. A platform.

Most edge compute platforms run your code and stop. You wire up storage, state, inference, and telephony from separate vendors. Functions runs as containers on infrastructure Telnyx owns and operates. KV, Stateful Actors, Object Storage, and Inference are connected through bindings, not API calls.

* ### One platform, zero hops  
Functions, KV, Stateful Actors, Object Storage, and Inference on one account, one API, one bill. Bindings connect them with no credentials and no network hops.
* ### Owned infrastructure  
Runs on infrastructure Telnyx owns and operates. Multiple independent sites per region with automatic failover. Not rented cloud capacity in a CDN PoP.
* ### Built for AI agents  
A function receives a request, loads agent state, calls inference on GPUs in the same facility, and responds. The orchestration, state, and models are on one platform with no hops between them.

FEATURES

## Everything you need to ship. Nothing you don't.

Write a server. Run telnyx-edge ship. Get a public URL.

* Platform architecture  
Functions is the compute entry point. KV, Stateful Actors, Object Storage, Inference, and the Telnyx API are all on the same owned infrastructure, connected through bindings.
* Any runtime, any language  
Functions run as containers, not V8 isolates. TypeScript, Go, Python, Java, Rust, or any runtime that runs in a container. Use any package, any system library, any framework. No sandbox limitations.
* Zero-credential bindings  
Access KV, Stateful Actors, Object Storage, and Inference through bindings, not API calls. No credentials in your code, no auth headers, no secret rotation. The platform wires services together at the infrastructure layer.
* Global edge distribution  
Deploy once, run at every edge site. The platform handles routing to the nearest PoP automatically. No multi-region config, no DNS management, no cold-start regions. Your code is everywhere your users are.
* Automatic TLS and custom domains  
Every function gets a public URL with TLS by default. Bring your own domain and upload your own PEM certificate. The platform handles routing, you control the certificate chain, CA, and rotation schedule.
* Pre-authenticated telecom access  
A built-in binding connects to the Telnyx Voice and Messaging API. Make calls, send messages, and build voice agents from inside a function without managing API keys. Telecom is a function call, not an integration project.

HOW IT WORKS

## Ship in three steps

Write a server in any language, ship it with one command, get a live URL. Bindings to KV, Storage, and the Telnyx API are pre-authenticated.

[Read the docs](https://developers.telnyx.com/docs/edge-compute/quickstart)

Write a server

```
# server.ts
import { createServer } from 'http';

createServer((req, res) => {
  res.end('Hello from the edge');
}).listen(3000);
```

Ship it

```
$ telnyx-edge ship

  Building container...
  Deploying to 17 edge sites...
  Provisioning TLS...
  Done.
```

Get a URL

```
$ curl https://my-function.telnyx.app

  Hello from the edge
```

Write a serverShip itGet a URL

CUSTOM DOMAINS

## Serve Edge Compute Functions from your own domain.

Most serverless platforms auto-provision TLS and give you no control over the certificate chain. Custom domains let you bring your own PEM certificate, choose your CA, and manage your own rotation schedule.

* Bring your own certificate  
Upload a PEM-encoded certificate and private key. Any CA, any key size, any chain length. Stored encrypted with AES-GCM.
* One-time DNS verification  
Prove domain ownership with a single TXT record. No re-verification when you rotate certificates.
* Zero-downtime routing  
Your custom domain and the default telnyxcompute.com URL serve traffic simultaneously. Migrate at your own pace.
* Up to 25 domains per org  
Point multiple domains at the same function. No per-function restriction.

BINDINGS

## What Functions connects to on the platform.

[See all products](https://telnyx.com/products)

* ### KV  
Session data, cached responses, feature flags. Read and write from inside your function with no API key, no SDK, no network hop.  
[Learn more](https://telnyx.com/products/kv)
* ### Stateful Actors  
Per-entity state. Delegate read-modify-write operations to an actor instance through a binding. The actor handles concurrency so your function does not have to.  
[Learn more](https://telnyx.com/products/stateful-actors)
* ### Object Storage  
File access. Read and write files from inside your function. Same infrastructure, no credentials, no hop.  
[Learn more](https://telnyx.com/products/cloud-storage)
* ### Inference  
Model calls. Invoke frontier open-source models on owned GPUs from your function. Sub-200ms round-trip when function and model are in the same facility.  
[Learn more](https://telnyx.com/products/inference)

## Sign up and start building.

Get an API key, install the CLI, and ship your first function in minutes.

[SIGN UP](https://telnyx.com/sign-up)[TALK TO US](https://telnyx.com/contact-us)

## Sign up and start building.

Get an API key, install the CLI, and ship your first function in minutes.

[SIGN UP](https://telnyx.com/sign-up)[TALK TO US](https://telnyx.com/contact-us)

## FAQ

### What is Telnyx Functions?

Telnyx Functions is a containerized edge compute platform. You write a server in any language, run telnyx-edge ship, and get a public URL. Functions runs on infrastructure Telnyx owns and operates, co-located with our carrier network and GPU clusters.

### How is Functions different from other edge compute platforms?

### What languages and runtimes are supported?

### How do bindings work?

### How much does Functions cost?

### Can I use Functions without other Telnyx products?

[Start building](https://telnyx.com/sign-up)