SaidwireDevelopers

Guide · OpenAI-compatible apps

Using the OpenAI transcription API? Change the base URL

Saidwire serves POST /v1/audio/transcriptions in the OpenAI format. Any app or SDK that lets you set the speech-to-text base URL can switch with two settings:

settingvalue
base URLhttps://api.saidwire.com/v1
API keyyour Saidwire key, sk_live_...
modelsaidwire-en, or leave what your app sends. Any name is accepted

Get a free key

Sign up at saidwire.com/dev. You get 120 free hours with no card. Keys look like sk_live_....

Get an API key

Open WebUI

Go to Admin Panel, then Settings, then Audio. Under Speech-to-Text, set the engine to OpenAI, the API Base URL to https://api.saidwire.com/v1, the API Key to your key and the STT Model to saidwire-en. Click Save. Or set it with environment variables:

AUDIO_STT_ENGINE=openai
AUDIO_STT_OPENAI_API_BASE_URL=https://api.saidwire.com/v1
AUDIO_STT_OPENAI_API_KEY=sk_live_...
AUDIO_STT_MODEL=saidwire-en

Screens, per-user settings and fixes are in the full Open WebUI guide.

LibreChat

In librechat.yaml, give the full transcription endpoint as url:

speech:
  stt:
    openai:
      url: 'https://api.saidwire.com/v1/audio/transcriptions'
      apiKey: '${STT_API_KEY}'
      model: 'saidwire-en'

Put STT_API_KEY=sk_live_... in your .env and restart LibreChat. Then, in the chat's speech settings, turn Speech to Text on and choose the server engine rather than Browser. We took these settings from LibreChat's speech docs but have not yet run them end to end.

The OpenAI SDKs

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.mp3", "rb") as f:
    print(client.audio.transcriptions.create(model="saidwire-en", file=f).text)
const client = new OpenAI({ baseURL: "https://api.saidwire.com/v1", apiKey: process.env.SAIDWIRE_API_KEY });

Why switch

The 41 ms p95 figure is for live streaming. This endpoint transcribes a whole recording after it is uploaded. For words while someone is still speaking, use the streaming API or the /v1/listen-compatible clients.

Good to know

Stuck? Email support@saidwire.com with the x-request-id from the failed call.

Vapi, LiveKit, Pipecat, jambonz, Open WebUI, LibreChat and the other names on this page belong to their respective owners. OpenAI is a trademark of OpenAI. They are named only to describe compatibility; Saidwire is not affiliated with them.