Skip to main content
Zero code changes. Swap your credentials, redeploy, done.

What changes

LiveKit CloudTelnyx
LIVEKIT_URLhttps://your-project.livekit.cloudhttps://nyc1.livekit-telnyx.com
LIVEKIT_API_KEYLiveKit Cloud keyTelnyx API key
LIVEKIT_API_SECRETLiveKit Cloud secretYour LiveKit API secret

What doesn’t change

  • Your agent code
  • SDK usage
  • lk CLI commands
  • Dockerfiles
  • Room management, dispatch rules

Steps

  1. Create a Telnyx account at portal.telnyx.com
  2. Generate a Telnyx API key in the portal
  3. Update your environment variables with the values above
  4. Deploy to Telnyx:
    lk agent deploy . --secrets TELNYX_API_KEY=<your-key>
    
  5. Verify: lk room list to confirm connectivity
  6. (Optional) Install the Telnyx plugin for on-prem STT, TTS, and LLM
  7. (Optional) Buy a Telnyx number for built-in telephony

What you gain

  • Built-in telephony, no third-party SIP fees — On other platforms, you pay third-party SIP fees on top of your usage. On Telnyx, those are gone entirely.
  • Ultra-low latency AI on Telnyx GPUs — STT, TTS, and LLM colocated in every region ~2ms from your agents. No round-trips to external APIs.
  • One platform, one bill — Compute, models, telephony, and phone numbers on a single Telnyx invoice. No vendor sprawl.

Rolling back

It’s just environment variables. Point them back at LiveKit Cloud and redeploy.