---
title: "Deploy WhisperLiveKit"
description: "Real-time speech-to-text server with live web UI and OpenAI-style API"
category: "AI/ML"
url: https://railway.com/deploy/whisperlivekit
---

# Deploy WhisperLiveKit

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

**[Deploy WhisperLiveKit on Railway](https://railway.com/template/whisperlivekit)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/whisperlivekit/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** AI/ML

## Template content

### WhisperLiveKit https://raw.githubusercontent.com/QuentinFuxa/WhisperLiveKit/v0.2.28/chrome-extension/icons/icon128.png

- **Source:** https://github.com/aalfath/whisperlivekit-railway-template
- **Health check:** /health
- **Public domain:** Yes

## Documentation

# 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

* WhisperLiveKit source and docs: https://github.com/QuentinFuxa/WhisperLiveKit
* Release v0.2.28: https://github.com/QuentinFuxa/WhisperLiveKit/releases/tag/v0.2.28
* Template repo (Dockerfile, start script, changelog): https://github.com/aalfath/whisperlivekit-railway-template

### 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.



## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/whisperlivekit
