Telnyx STT
TelnyxSTT is a streaming speech-to-text provider that talks to Telnyx’s wss://api.telnyx.com/v2/speech-to-text/transcription endpoint. It implements Patter’s pipeline-mode STTProvider interface — drop it in anywhere DeepgramSTT or AssemblyAISTT would go.
Why use it
If you’re already on Telnyx for telephony (see Carrier — Telnyx), you can keep STT on the same vendor:- One bill, one credential. No extra Deepgram / AssemblyAI / Speechmatics account to manage.
- On-network audio path. Caller audio arrives at Telnyx’s edge for the carrier hop; routing it to Telnyx STT from the same edge keeps the audio inside their backbone instead of egressing to a third-party STT.
- Pluggable backend. Telnyx fronts four transcription engines (
telnyx,google,deepgram,azure) behind a single API — pick whichever quality / language profile suits the call without changing wire protocol.
Install
TelnyxSTT ships in the core getpatter package — no extras needed:
Quickstart
Constructor
Engines and sample rates
The Python SDK exposes the supported values as enums for editor autocomplete:Pricing
Telnyx STT pricing varies by transcription engine and is bundled with your Telnyx plan — see the Telnyx STT pricing page. Patter does not charge an STT line item forTelnyxSTT; the cost shows up on your Telnyx invoice alongside the carrier minutes. See Metrics for how to register a custom rate via Patter(pricing={...}) if you want it surfaced in the dashboard.
Low-level usage
See also
- STT overview — provider table and shared concepts.
- Carrier — Telnyx — picking Telnyx as your telephony provider.
- Telnyx TTS — pair this STT with carrier-bundled TTS.

