Guide · Switch in one line
Already have speech-to-text code? Change the base URL and the key
Saidwire speaks two protocols that existing apps already use: the widely used /v1/listen protocol (live and files) and the OpenAI-compatible /v1/audio/transcriptions endpoint (files). If your app is built on either one, you keep your code and your SDK. You change where it points and which key it sends.
Every code sample on this page was run against api.saidwire.com on Nov 11, 2026, exactly as shown.
What to change
| your app uses | set this | to |
|---|---|---|
| OpenAI SDK (Python or Node), transcription | base URL | https://api.saidwire.com/v1 |
A /v1/listen SDK, live and files | environment or base URL | https://api.saidwire.com and wss://api.saidwire.com |
| Pipecat or LiveKit Agents | our plug-in, or base_url on your /v1/listen speech-to-text service | api.saidwire.com |
| Any of the above | API key | your Saidwire key, sk_live_... |
Get a free key
Sign up at saidwire.com/dev. You get 120 free hours with no card. After that it is $0.25 per audio hour, billed per second.
Files: OpenAI-compatible transcription
Point the OpenAI SDK at Saidwire. Any model name is accepted; saidwire-en is ours.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.saidwire.com/v1", api_key=os.environ["SAIDWIRE_API_KEY"])
with open("call.wav", "rb") as f:
print(client.audio.transcriptions.create(model="saidwire-en", file=f).text)
import fs from "fs";
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.saidwire.com/v1", apiKey: process.env.SAIDWIRE_API_KEY });
const r = await client.audio.transcriptions.create({ model: "saidwire-en", file: fs.createReadStream("call.wav") });
console.log(r.text);
response_format can be json, text, verbose_json (with word and segment times), srt or vtt, and stream=True works. More in the OpenAI-compatible apps guide.
Live and files: /v1/listen clients
SDKs written for the /v1/listen protocol usually take an environment or base-URL option. Set the REST address to https://api.saidwire.com and the WebSocket address to wss://api.saidwire.com. Everything else in your code stays the same: Results, is_final, speech_final, Finalize, KeepAlive and CloseStream all work. Any model value is accepted.
Pipecat and LiveKit Agents
Our own plug-ins are a one-line install: pip install pipecat-saidwire or pip install livekit-plugins-saidwire. See Pipecat and LiveKit. If your agent already uses a /v1/listen speech-to-text service, set its base_url to api.saidwire.com and pass your Saidwire key.
No SDK
A file, with curl:
curl -s -X POST "https://api.saidwire.com/v1/listen?smart_format=true" \ -H "Authorization: Token $SAIDWIRE_API_KEY" \ -H "Content-Type: audio/wav" \ --data-binary @call.wav
A live stream, with plain WebSockets:
# pip install websockets
import asyncio, json, os, wave
import websockets
URL = ("wss://api.saidwire.com/v1/listen?encoding=linear16&sample_rate=16000"
"&interim_results=true&punctuate=true")
async def main():
with wave.open("call.wav") as w: # 16 kHz mono 16-bit WAV
audio = w.readframes(w.getnframes())
headers = {"Authorization": "Token " + os.environ["SAIDWIRE_API_KEY"]}
async with websockets.connect(URL, additional_headers=headers) as ws:
async def send():
for i in range(0, len(audio), 640): # 20 ms chunks, sent in real time
await ws.send(audio[i:i + 640])
await asyncio.sleep(0.02)
await ws.send(json.dumps({"type": "CloseStream"}))
asyncio.create_task(send())
async for msg in ws:
m = json.loads(msg)
if m.get("type") == "Results" and m["is_final"]:
print(m["channel"]["alternatives"][0]["transcript"])
asyncio.run(main())
Why switch
- Fast finals. 1st of 30 on time to final (Coval, 7 days to Nov 19, 2026): 41 ms p95 and 13 ms median after the end of speech.
- Simple price. $0.25 per audio hour, billed per second. 120 free hours to try it, no card.
- Nothing to rewrite. Keep your SDK, your message handling and your turn logic.
What is different
Test any feature you rely on before you switch. The full list is in the compatibility notes.
- English only, mono only.
- Some parameters are accepted but have no effect, for example speaker labels (
diarize), keyword boosting, redaction and more than one alternative. Your request still succeeds, so check the list of ignored parameters. endpointingbelow 500 ms is treated as 500 ms. For a quicker end of turn, sendFinalizefrom your own voice-activity detection; it is answered right away.- The
/v2/listenprotocol and the OpenAI realtime WebSocket are not available. Live audio uses/v1/listen. - The newer
Configurecontrol message is not supported yet. The stream keeps running, but you get anErrormessage back.
How we tested
On Nov 11, 2026 we ran every sample above, unchanged, against api.saidwire.com, along with the current official OpenAI SDKs (Python and Node), the current official /v1/listen SDKs (Python and JavaScript), and the Pipecat and LiveKit Agents speech-to-text services (file and live). The test machine could reach only api.saidwire.com.
Stuck? Email support@saidwire.com with the x-request-id from the failed call.
OpenAI is a trademark of OpenAI. Pipecat, LiveKit and other names on this page belong to their respective owners. They are named only to describe compatibility; Saidwire is not affiliated with them. Coval figures are from Coval's public STT benchmark.