.with_telnyx() helper:
About .with_telnyx()
This is a built-in static method on openai.LLM in the official livekit-plugins-openai package, maintained by LiveKit — not a Telnyx package or fork. It works the same way as the other OpenAI-compatible helpers in that package (.with_azure(), .with_fireworks(), etc.): it sets base_url to Telnyx’s OpenAI-compatible inference endpoint (https://api.telnyx.com/v2/ai/openai) and reads your TELNYX_API_KEY from the environment. You don’t need any additional packages beyond livekit-plugins-openai.
Hosted models
These run on Telnyx infrastructure — no external API key needed, just yourTELNYX_API_KEY:
| Model | Description |
|---|---|
moonshotai/Kimi-K2.6 | Moonshot AI — voice AI, with thinking disabled (Recommended) |
zai-org/GLM-5.1-FP8 | Zhipu AI — most efficient reasoning, function calling |
MiniMaxAI/MiniMax-M2.7 | MiniMax — cheapest, high intelligence |