Deploy WhisperLiveKit

Real-time speech-to-text server with live web UI and OpenAI-style API

Deploy WhisperLiveKit

Just deployed

/data

Deploy and Host WhisperLiveKit on Railway

WhisperLiveKit is an open-source, self-hosted speech-to-text server. It transcribes speech in real time as you talk, using Whisper models that run on your own server, not a paid API. It ships a browser UI, a live WebSocket API, an OpenAI-compatible transcription endpoint and a Deepgram-compatible WebSocket.

About Hosting WhisperLiveKit

This template runs WhisperLiveKit v0.2.28 as one service, built from upstream's official CPU image pinned by digest. Railway has no GPUs, so it uses the faster-whisper backend with the small tiny model, which keeps up with live speech on one vCPU and fits Railway's 0.5 GB plan (about 380 MB in use while transcribing). The model is downloaded on first start and cached on a volume. A generated WLK_API_TOKEN locks the UI's WebSocket and every API, and the server refuses to start without it. The start script sizes threads, live sessions and the upload limit from the service's memory. Bigger models need more RAM: small about 1.5 GB, medium and large-v3 3-6 GB.

Common Use Cases

  • Live captions or meeting notes from a browser microphone
  • A private, OpenAI-compatible transcription API for your own apps and scripts
  • A drop-in, self-hosted backend for tools that speak Deepgram's live WebSocket protocol

Dependencies for WhisperLiveKit Hosting

  • One Railway service built from the template repo, with a volume at /data for the model cache
  • No database and no API keys: transcription runs locally on the service's CPU

Deployment Dependencies

Implementation Details

The deploy creates one service, WhisperLiveKit: the web UI and APIs on the public domain, health check /health, model cache on the /data volume. Variables: WLK_API_TOKEN (generated), WLK_MODEL (default tiny), WLK_LANGUAGE (default auto) and PORT (8000). There is nothing to fill in.

After deploy, copy WLK_API_TOKEN from the service's Variables tab, then:

  • Browser UI: open https://YOUR-DOMAIN/#token=YOUR-TOKEN, allow the microphone and press record.
  • REST: curl https://YOUR-DOMAIN/v1/audio/transcriptions -H "Authorization: Bearer YOUR-TOKEN" -F file=@audio.wav (or the OpenAI SDK with base_url="https://YOUR-DOMAIN/v1" and the token as api_key).
  • Live WebSocket: wss://YOUR-DOMAIN/asr?token=YOUR-TOKEN, or wss://YOUR-DOMAIN/v1/listen with the header Authorization: Token YOUR-TOKEN for Deepgram clients.

Speaker diarization, translation and the Voxtral/Qwen3 backends are off because they need several GB of RAM or a GPU. On a bigger plan you can switch them on with WLK_EXTRA_ARGS (see the repo README). Updates: when the template repo bumps the WhisperLiveKit version, Railway shows an "update available" notice on your project, and the repo's CHANGELOG lists any breaking changes. The model cache on the volume is kept.

Why Deploy WhisperLiveKit on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying WhisperLiveKit on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

Tracklayer
1