Speech-to-text with vLLM: when a self-hosted transcription service fits
A self-hosted transcription service fits a team that must keep recorded calls, meetings or patient dictation inside infrastructure it controls. vLLM can serve Whisper and Qwen3-ASR class models through OpenAI-compatible audio transcription and translation endpoints, and it lists Voxtral Realtime for streaming transcription through /v1/realtime. The vllm serve server exposes these endpoints alongside /v1/chat/completions and /v1/embeddings, so an application already written against the OpenAI audio API can often be pointed at the server with a changed base URL. That compatibility shortens client work, but it does not confirm that a given model, language mix or audio format will behave the way your application expects, so test those before committing.
The software itself has no paid edition. vLLM is Apache-2.0 licensed, so the money goes to accelerator capacity, the surrounding infrastructure such as storage, networking and load balancing, the implementation work, and the people who operate the service after go-live. Those costs differ in shape. Hardware and cloud capacity recur every month, while the design, model selection, testing and runbooks are largely one-time work that is revisited at each upgrade. When you ask a partner for a quote, ask for each of these components separately, and ask who maintains the audio dependencies, model compatibility checks and endpoint exposure over time.
Self-hosting fits best when the audio volume is steady enough to justify dedicated capacity, when data residency rules forbid sending recordings to a third-party speech API, or when you need to tune models for your own vocabulary. It fits poorly when volume is occasional and a managed service meets the data rules. Before deciding, confirm that your chosen model and its audio dependencies are supported in the vLLM release you plan to run, since the project ships new minor releases about every two weeks, and confirm realtime requirements with the documentation for your target model.
Which endpoint fits which application
Batch transcription is the pattern where an application uploads a complete recording and receives the text when processing finishes. vLLM's server, started with vllm serve, exposes audio transcription and translation alongside its OpenAI-compatible chat and embedding endpoints, so an application written against the OpenAI audio API can usually point at the self-hosted server with a changed base URL. Whisper and Qwen3-ASR class models are the transcription models listed in the vLLM supported models documentation, and this is the path most teams should validate first.
- Request shape: Confirm the exact multipart fields, response formats and translation behavior for your chosen model in the online serving documentation before writing client code.
- Latency model: Each file is processed as a unit, so the wait grows with recording length and queue depth rather than with live audio arriving.
- Batching work: Large archives are usually queued by a job runner, which makes concurrency limits and retry logic part of the design.
- Translation: Confirm which models support the translation endpoint, since transcription support does not imply translation support.
- Storage: Decide where uploaded audio is kept, how long it stays, and who can read it, because the server itself does not manage that retention.
Before committing, test a representative sample of your own recordings, including noisy and multi-speaker audio, against the model you plan to run.
Live transcription sends audio while the speaker is still talking and expects partial text back during the session. The vLLM supported models documentation lists Voxtral Realtime for realtime transcription through the /v1/realtime endpoint. This path is not a drop-in replacement for the file endpoints: the client must capture audio, send it in the streaming form the endpoint expects, and handle partial and final results as they arrive.
- Client work: Plan for audio capture, chunking, streaming, reconnection and display of interim text, which usually costs more engineering time than the server setup.
- Session handling: Each open session holds server resources for its duration, so concurrent sessions are a capacity question, not just a request count.
- Model fit: Realtime support is tied to specific models, so do not assume a Whisper deployment can serve the realtime path.
- Network path: Long-lived connections must traverse your proxies and load balancers, which need settings for streaming and timeouts.
- Fallback: Decide what happens when a session drops, such as re-sending buffered audio to the batch endpoint.
Confirm the message format, session lifecycle and supported audio parameters for the realtime endpoint in the vLLM online serving documentation before scoping client work.
Translation is a separate capability from transcription. Applications that need speech in one language rendered as text in another send the audio to the translation endpoint, which the vLLM server exposes alongside transcription. Whether a given model handles translation, and which language pairs it covers, depends on the model rather than on the server, so this tab is a verification task rather than a configuration step.
- Model check: Confirm translation support for the exact model and version in the vLLM supported models documentation.
- Quality review: Test output with bilingual reviewers on your own material, since accuracy varies with accent, domain vocabulary and language pair.
- Output handling: Decide whether translated text is stored alongside the original audio and how each version is labeled for downstream users.
- Separate routing: If translation and transcription use different models, run them as separate deployments and size each on its own.
- Compliance review: Translated transcripts may fall under the same data handling rules as the source audio, which your privacy team should confirm.
Run a pilot with your languages before deciding whether translation belongs in the same deployment as transcription.
Most applications fall clearly into one pattern, but some need both. A meeting recorder that shows captions during the call and produces a final transcript afterward is an example of a mixed workload, illustrative only. The decision is less about the model and more about whether the user waits for a result, whether audio arrives in pieces, and whether the team can build streaming client code.
- Post-call processing: Use batch file transcription when results can arrive minutes later and the input is a finished file.
- Live captions: Use the realtime path when users must see text while speaking, and budget client engineering for it.
- Mixed workloads: Run both paths but treat them as separate services with separate limits, logs and models.
- Ownership: Name which team owns the client code for each path, since the server team cannot close that gap alone.
- Scale signals: Track queue length for batch jobs and open session count for realtime, because they fail in different ways.
Write down the expected pattern per application before sizing hardware, because the endpoint choice changes the capacity plan.
Endpoint details change between releases, and vLLM ships new minor versions about every two weeks, so the request formats you read today may not match the version you deploy. The supported models page, the online serving page and the release notes are the sources to check before each design decision, and the exact version you run should be pinned in your deployment record.
- Supported models: Confirm each model's listed capabilities, including transcription, translation and realtime support.
- Online serving: Confirm the endpoint paths, request fields and response formats for the version you plan to run.
- Release notes: Review changes to audio handling between your pinned version and the latest release.
- Audio dependency: Confirm the extra package needed for audio input, which the vLLM Gemma 4 recipe describes as vllm[audio], and check whether your chosen model needs it.
- Test environment: Reproduce the exact version and model in a staging environment before any production traffic.
If the documented request format for your model is unclear, ask the vLLM project or your implementation partner to confirm it against a running server rather than relying on examples alone.
Model and configuration options and when each fits
This table compares Whisper, Qwen3-ASR and Voxtral Realtime by role, then lists the install and serving settings to confirm before deployment. Read the model rows to choose a role for each model, and read the flag rows as items to verify against the vLLM docs for your exact version.
| Option | What it does | When it fits | What to confirm |
|---|---|---|---|
| Whisper class model | Batch transcription and translation through the audio transcription endpoints | Recorded audio processed in jobs where a short wait per file is acceptable | Languages, accuracy on your audio, and that the model is listed in the supported models docs for your version |
| Qwen3-ASR class model | Batch transcription through the audio transcription endpoints | Recorded audio where you want to compare an alternative family against Whisper on your own samples | Support in your vLLM version, language coverage, and whether translation is offered |
| Voxtral Realtime | Realtime transcription through the /v1/realtime endpoint | Live captioning or voice flows where audio streams in and partial text is needed | Streaming client support, latency targets measured on your hardware, and session limits |
| vllm[audio] extra | Installs the audio dependencies needed for audio input | Any deployment that accepts audio, which the Gemma 4 recipe also requires | Exact package version pinned with your vLLM release and the install command for your platform |
| Model name flag | Selects the checkpoint loaded by vllm serve | Every deployment, so the served name matches what clients send | Checkpoint identifier, license terms, and local storage path for weights |
| Tensor and pipeline parallel size | Splits one model across GPUs in a node or across nodes | Only when one accelerator cannot hold the chosen model and its audio workload | Flag names and defaults in the parallelism docs for your version, and memory needed per GPU |
| API key option | Requires a key on endpoints under /v1 and related prefixes | Any deployment reachable beyond a single trusted host | Whether audio routes fall under the protected prefixes, and that a reverse proxy allowlists only user-facing endpoints |
What the audio extra changes in the install
Audio input is not available on a base vLLM install. The Gemma 4 recipe in the vLLM recipes repository notes that audio input requires installing vllm[audio], and the same rule applies to transcription models such as Whisper and Qwen3-ASR when they run on the server. Treat the extra as a required part of the serving image, not an optional add-on that someone can install later on a single host. Before the first build, confirm with your vLLM release notes and the installation guide which audio dependencies the extra pulls in, because those packages add to the image size, the attack surface and the list of components your team must track and patch.
The extra changes three things in your delivery pipeline. First, the build must install vllm[audio] in every container image and every environment that serves transcription, including staging, load test and disaster recovery sites, so that a replica never starts without the audio stack. Second, air-gapped environments need the extra's transitive packages in the internal package mirror and container registry before the build runs, which means the mirror sync job must include them and the team should verify the resolved set with a dependency lock file. Third, the install should be reproduced from a pinned build so that a rebuild on another day does not silently pull a newer audio library.
Version pinning is where the extra causes the most churn. vLLM ships new minor releases about every two weeks, so a pinned vllm[audio] version in one image can drift from the version in another if builds resolve dependencies at different times. Set one pinned version and one dependency lock per release train, test the transcription endpoints against each candidate upgrade, and record which model checkpoints were validated with that exact combination. Ask your vendor or internal platform owner to confirm, for each target release, that the audio extra still resolves cleanly on your base image and hardware stack before you promote it to production.
How to set up a transcription endpoint on vLLM
This sequence takes a self-hosted speech model from hardware check to a running vLLM server that accepts transcription requests, with each step ending in a verifiable result. Your infrastructure team and the engineers who will operate the service should run it together in a non-production environment first.
Confirm hardware and accelerator support
Before installing anything, check the vLLM installation documentation against the accelerator and CPU architecture in your environment, including NVIDIA CUDA, AMD ROCm, Intel XPU, x86 and ARM AArch64 targets. Record the driver and runtime versions your platform team already supports and compare them with the requirements listed for your chosen vLLM release. Confirm that the speech model you plan to use appears in the vLLM supported models list for transcription. Done means you have a written compatibility note signed off by the platform owner, with any gaps raised before procurement or build work starts.
Install vLLM with the audio extra
Create an isolated Python environment on the target host and install vLLM with the audio extra, following the installation steps for your accelerator. The vLLM Gemma 4 recipe notes that audio input requires the audio extra, so omitting it is a common reason transcription requests fail after a plain install. Pin the exact vLLM version your change process approves, because vLLM ships new minor releases about every two weeks and audio dependencies can shift between them. Done means the environment imports vLLM and the audio dependencies without errors, and the pinned versions are recorded in your build manifest.
Start the server with the speech model
Launch the server with vllm serve using the speech model you selected, such as a Whisper or Qwen3-ASR class model, and bind it to an internal interface rather than all addresses. Review the model card and the supported models entry for any flags the model needs, and confirm the GPU memory available matches the model's footprint on your hardware. Watch the startup log until the server reports that it is ready to accept requests. Done means the process stays up through model loading, and the log shows the model name and the port the server is listening on.
Send a test transcription request
Send a short, known audio clip to the transcription endpoint that vLLM exposes through its OpenAI-compatible API, using a client that targets the server address and the model name you started. Compare the returned text with what the clip says, and record the response time for a single request. Repeat with a translation request if your application needs it, since the server exposes both transcription and translation. Done means you have a stored request, response and timing record for a clip with known content, and the text matches closely enough for your use case. Confirm accuracy on your own domain audio before relying on it.
Test the realtime endpoint if needed
Only run this step if your application needs streaming or live transcription. The supported models documentation lists Voxtral Realtime for realtime transcription through the /v1/realtime endpoint, so confirm that the model you are serving supports it before testing. Open a streaming session from a test client, send audio in chunks, and check that partial and final text arrive in order and that the session closes cleanly. Note the behavior when the connection drops mid-stream. Done means a recorded session shows steady partial output and a clean finish, and you know which model is required for realtime work.
Check metrics and health behavior
Query the health route and the /metrics endpoint on the API server to confirm the service reports readiness and exposes Prometheus-format metrics for request counts, latency histograms and throughput. The vLLM security documentation states that --api-key does not protect /health or /metrics, so decide now whether those routes are reachable only from your monitoring network. Send a few transcription requests and confirm the counters change as expected. Done means your monitoring system scrapes the endpoint, and the health route and metrics are reachable only from the networks your policy allows.
Record the verified configuration
Write down the exact vLLM version, model identifier, launch flags, accelerator and driver versions, audio dependency install method, and the results of the transcription, translation, realtime and metrics checks. Store the record in the same change system as your other infrastructure configuration. Ask your team to confirm that the endpoint is exposed only through the reverse proxy or gateway your security design uses, since the vLLM security guidance recommends allowlisting user-facing endpoints. Done means a reviewer can rebuild the same server from the record alone and the open items are assigned to owners.
How audio requests flow through the serving stack
The flow starts at the client application, which sends audio to the reverse proxy. The proxy forwards only the endpoints meant for users, such as transcription, translation and /v1/realtime, into the isolated network where the vLLM server runs. The server runs the speech model on the GPU accelerator, and Prometheus collects /metrics from inside the boundary. Check that the proxy blocks /metrics, /pause and other operational paths from users, and that node-to-node traffic stays inside the isolated network.
Audio requests pass through an allowlisting proxy before reaching the vLLM server inside the isolated network.
What drives capacity planning for speech workloads
Speech capacity is set by how many audio streams run at once, how long each request is, and how quickly results are needed. Model size, parallelism and the audio you test with then determine how many accelerators the deployment needs, so each driver should be measured before a purchase decision.
Concurrent realtime streams
Each live transcription session holds a connection and generates text for as long as the speaker talks, so concurrency is the number that most directly limits a realtime deployment. Ask how many streams must run at the peak minute, not the daily average, and how many must stay under the latency target at that peak. Test with the number of simultaneous sessions your contact center or meeting platform will actually open.
Supported models docsAudio duration per request
Longer clips cost more compute and hold memory for longer. A one-minute voicemail and a two-hour recording do not load a server the same way, so the duration mix in your workload matters as much as the request count. Ask for the distribution of clip lengths, and check how the chosen model and the server handle files near its input limits before you set request size rules at the gateway.
Model size and accelerator memory
Whisper and Qwen3-ASR class models differ in weight size, and the memory left after loading the model sets how much audio work can run in parallel. Confirm the model's memory footprint on the accelerator you plan to buy, then leave headroom for request buffers and concurrent sessions. Avoid sizing from parameter counts alone, because the serving configuration changes the real figure.
Batch versus live latency targets
Overnight archive transcription and live captions place opposite demands on the same server. Batch jobs favor throughput and can wait in a queue, while live sessions need each partial result within a short delay that you define with the business owner. Decide whether batch and realtime traffic share one deployment, and if they do, plan for live traffic to take priority during working hours.
Measuring with production-like audio
Benchmarks run on clean studio recordings understate the load from noisy calls, accents, crosstalk and long silences. Build a test set from recordings that match your channels and languages, then measure throughput and latency at the concurrency you expect. Vendor or community figures are a starting point only, and your own results should set the sizing numbers.
Parallelism and replica choices
A model that fits on one accelerator is usually easier to scale by adding replicas than by splitting it across devices, because splitting adds communication overhead. vLLM supports tensor parallelism within a node, but the right layout depends on your model and hardware. Confirm the layout with a benchmark, then decide how many replicas sit behind your load balancer for failover.
Parallelism docsQuestions teams ask before self-hosting transcription
How much does it cost to self-host speech-to-text on vLLM?
vLLM itself has no license fee, since it is open source under Apache-2.0, and it has no paid edition. The cost comes from four places: accelerator capacity (GPU or other accelerator hours, whether rented or owned), the surrounding infrastructure such as storage, networking, load balancing and monitoring, implementation work, and the staff who operate the service. Accelerator capacity and operations time usually dominate the recurring cost. To compare options, ask any quote for the accelerator type and count, the expected concurrent audio load, the realtime versus batch split, and who carries upgrades and on-call support. Costs rise with the number of simultaneous realtime sessions and with stricter availability needs.
How long does a transcription deployment on vLLM take?
Duration depends on scope rather than on vLLM alone. A basic setup that serves one transcription model behind an internal endpoint is smaller than a deployment with authentication, a reverse proxy, realtime sessions, metrics and a tested upgrade path. The main time drivers are hardware procurement or allocation, validating that the chosen model (such as Whisper or a Qwen3-ASR class model) runs on your accelerators, audio dependency installation, and the security review your organization requires. vLLM ships new minor releases about every two weeks, so the plan should state which release the build pins and how upgrades are scheduled. DeployOpen agrees timelines in writing as part of a fixed-scope plan, so ask for that scope before committing to a date.
What does our team need to provide for a transcription project?
You need to provide the accelerator environment or the approval to rent one, network placement for the server, identity and access requirements (who may call the endpoints and how they authenticate), and a sample of your audio: formats, sample rates, average and maximum length, languages and accents, and the share of traffic that is realtime. You also need named owners for the service, a decision on where transcripts and audio are stored and for how long, and access to your logging and monitoring tools. Early samples matter most, because they determine model choice and capacity planning. Without representative audio, any sizing estimate will be a guess.
Can our own engineers deploy this without outside help?
Yes, a capable platform team can deploy vLLM and start a transcription endpoint using the project documentation, since the server exposes an OpenAI-compatible transcription and translation API and the audio extra is documented. Teams usually find the harder parts are outside the first request: capacity planning for concurrent audio, placing the endpoint behind a reverse proxy that exposes only user-facing routes, keeping the nodes isolated, collecting metrics, and rehearsing upgrades. Decide early whether that work fits your current staffing. If it does not, a fixed-scope engagement with DeployOpen can cover planning, implementation, hardening and documentation inside your infrastructure, and ongoing support or upgrades can run as a retainer.
Why does the vllm[audio] extra matter for transcription?
Audio input requires installing the audio extra, written as vllm[audio], according to the vLLM Gemma 4 recipe. Without it, the server can start for text workloads while audio requests fail or are not handled. Treat the extra as a pinned dependency: record the exact vLLM version, the audio package set and the model revision in your build, and test them together. Because vLLM releases minor versions on a short cycle, a dependency change that works in staging can break in production if the image is rebuilt without a lock. Confirm the extra's requirements against the release you plan to run.
Which transcription models and endpoints does vLLM support?
vLLM lists Whisper and Qwen3-ASR among its transcription models, and Voxtral Realtime for realtime transcription through the /v1/realtime endpoint, according to the supported models documentation. The server also exposes audio transcription and translation through its OpenAI-compatible API. Model support changes between releases, so confirm the exact model, revision and endpoint against the version you will run. Test each model on your own audio, because accuracy depends on language, accent, noise and domain, and a model that fits your accelerator memory may still miss the accuracy you need.
What risks should we plan for when exposing a transcription endpoint?
The main risks are unauthenticated access, exposure of internal routes, and uncontrolled audio retention. The vLLM security documentation says the --api-key option protects endpoints under /v1, /v2, /inference and /cohere, but not /metrics, /health, /pause, /resume, /abort_requests or /invocations, and it warns against relying on that key alone. The recommended pattern is a reverse proxy that allowlists only the user-facing endpoints. Multi-node communication is insecure by default and must sit on an isolated network. Plan retention for uploaded audio and transcripts, and confirm whether logs capture request bodies. These controls are part of the build, and DeployOpen can test them as part of a security review, but no review guarantees a specific outcome.
How DeployOpen scopes and delivers speech-to-text on vLLM
A speech-to-text deployment on vLLM starts with a fixed-scope engagement agreed in writing before any work begins. DeployOpen plans the models, endpoints, audio pipeline and capacity together, then validates the result with your own recordings. The scope names which models are in play, such as Whisper or a Qwen3-ASR class model, whether the work includes realtime transcription through /v1/realtime, and which applications will call the transcription and translation endpoints. Scope also records whether the audio extra (vllm[audio]) is part of the build, since the vLLM Gemma 4 recipe notes that audio input requires it. Deliverables and the acceptance tests are fixed in the same document, so the client knows what is handed over and how it is judged.
Planning covers the parts that decide whether the service works in production. DeployOpen maps the audio path from capture or upload through any preprocessing, into the server, and back to the calling application, including file size limits, retention of audio and transcripts, and where logs are written. Capacity planning looks at concurrent streams for realtime sessions, batch volume for file uploads, and the accelerators available. Hardware choices are confirmed against the installation requirements and the model documentation, and the client should ask for sizing assumptions in writing, tied to their own peak load rather than a generic figure.
Validation uses your audio, not sample clips. DeployOpen runs your recordings, including the accents, domain vocabulary, noise and call quality you actually handle, and records word error rate, latency and failure modes against thresholds agreed at scoping. Exposure review follows the vLLM security guidance: the --api-key option does not cover every route, so a reverse proxy should allowlist only the transcription and realtime paths meant for users, and metrics and health routes should stay internal. Ongoing support, upgrades across vLLM releases and periodic retesting are available as a retainer, which the client can scope separately once the initial delivery is accepted.

