$npx skillfedfor your agent

soniox

The official Python SDK for the Soniox API (STT, REST)

Worth itPyPI Python ModulesReleased Aug 2026296.1K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — soniox-2.9.0-py3-none-any.whl
v2.9.0 · released 2026-08-11 · Python >=3.10 · 3 runtime deps: httpx, pydantic, websockets

Yes. The SDK is actively maintained, has low install friction, no known vulnerabilities, and a permissive license. Install it if you need to integrate Soniox's STT or TTS APIs into a Python application. Avoid Python 3.13.6 specifically due to a documented ssl regression; any other 3.10–3.14 version is safe.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires SONIOX_API_KEY environment variable or explicit API key passed to client.
  • Avoid Python 3.13.6 for realtime operations.
  • Low friction install with three lightweight runtime dependencies (httpx, pydantic, websockets).

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 (permissive). No restrictions on commercial use, modification, or redistribution; attribution required.

last release 2026-08-11 (3 days) · last repo commit 2026-08-11 · 11 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 296,113 downloads/mo, #7,903 on PyPI

Verify before relying

from soniox import SonioxClient

client = SonioxClient()
transcript = client.stt.transcribe_and_wait_with_tokens(
    file="path/to/audio.mp3",
    delete_after=True,
)
print(transcript.text)
client.close()
  • Pricing model and rate limits for STT/TTS operations beyond daily cost tracking.
  • Whether voice cloning quality and speed meet production requirements for your use case.
  • Latency characteristics of realtime WebSocket endpoints under load.
Same gist for agents: .md · .json

What it is and what it does

Soniox is the official Python SDK for accessing Soniox's speech and audio APIs. It provides both synchronous and asynchronous clients that wrap REST and WebSocket endpoints for speech-to-text transcription, text-to-speech synthesis, voice cloning, and usage/cost reporting. The SDK handles authentication via API key, file uploads, model selection, and typed request/response objects through pydantic.

Typical workflows include transcribing audio files end-to-end in a single call, streaming realtime speech recognition or synthesis over WebSocket, cloning voices from reference audio for custom TTS, and querying daily spend and per-request logs. The package is actively maintained, supports Python 3.10 through 3.14, and has minimal dependencies (httpx, pydantic, websockets).

Use it for

  • Transcribe audio files or URLs to text in a single call with automatic cleanup.
  • Stream live audio over WebSocket for low-latency speech-to-text in real-time applications.
  • Generate speech from text with built-in or cloned voices, optionally streaming audio chunks as they arrive.
  • Clone a custom voice from a reference audio clip and reuse it across TTS requests.
  • Track API usage and costs per model and per request over a date range.
  • Build async applications that handle concurrent STT/TTS operations without blocking.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The SDK is actively maintained, has low install friction, no known vulnerabilities, and a permissive license. Install it if you need to integrate Soniox's STT or TTS APIs into a Python application. Avoid Python 3.13.6 specifically due to a documented ssl regression; any other 3.10–3.14 version is safe.

Install

soniox on PyPI

Before you install

Low friction install with three lightweight runtime dependencies (httpx, pydantic, websockets). Active maintenance—last commit 2026-08-11, released 3 days ago. Supports modern Python versions (3.10–3.14). Note: avoid Python 3.13.6 due to a CPython ssl regression that hangs realtime STT/TTS.

Requires SONIOX_API_KEY environment variable or explicit API key passed to client. Avoid Python 3.13.6 for realtime operations.

License in practice

Apache-2.0 (permissive). No restrictions on commercial use, modification, or redistribution; attribution required.

Quickstart

from soniox import SonioxClient

client = SonioxClient()
transcript = client.stt.transcribe_and_wait_with_tokens(
    file="path/to/audio.mp3",
    delete_after=True,
)
print(transcript.text)
client.close()

Verify before relying

  • Pricing model and rate limits for STT/TTS operations beyond daily cost tracking.
  • Whether voice cloning quality and speed meet production requirements for your use case.
  • Latency characteristics of realtime WebSocket endpoints under load.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
httpxpydanticwebsockets
MaintenanceActively maintained 3 days since the last release
Last repo commit
First released
Downloads296,113 / month, #7,903 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: soniox-2.9.0-py3-none-any.whl

Tags

Capabilities
speech to text python sdktext to speech api clientstt tts realtime streamingvoice cloning sdksoniox python clientasync speech recognitionwebsocket audio streaming
Topics
speech-recognitiontext-to-speechrealtime-streaming
PyPI keywords
aisdksonioxspeech-to-textstt

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “stt tts realtime streaming”

  • sonioxPython SDK for the Soniox speech-to-text and text-to-speech API,…
  • livekit-plugins-openaiIntegrates OpenAI's Realtime, Responses, LLM, TTS, and STT APIs into…
  • livekit-plugins-inworldIntegrates Inworld's text-to-speech and speech-to-text APIs into…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also livekit-plugins-soniox · fish-audio-sdk · kugelaudio · mlx-audio · livekit-plugins-inworld · aws_sdk_transcribe_streaming · rev-ai · livekit-plugins-cartesia · speechmatics-rt · livekit-plugins-deepgram