whisper-large-v3

openai

Whisper-large-v3 is a state-of-the-art model for automatic speech recognition (ASR) and speech translation

Deploy

Serving with Docker Image

For serving with Nvidia GPUs, we provide ready-to-go Docker containers with OpenAI-compatible API endpoints.
Using our containers you can set up an inference endpoint on any desired cloud/serverless providers as well as on-premise servers.
You can also use this container to run inference through TheStage AI platform.

Prebuilt image from ECR

Pull docker image and start inference container. The container serves one model on one GPU; on a multi-GPU host --gpus all is fine, the model is placed on a single device:

docker pull public.ecr.aws/i3f7g5s7/thestage/elastic-models:0.2.4.post0-stt-streaming-v2-20261008-19026a9
docker run --rm -it \
  --name triton-stt \
  --gpus all \
  -p 127.0.0.1:<PORT>:<PORT> \
  -v "$HOME/.cache:/opt/project/.cache/" \
  -e MODEL_TYPE=<MODEL_TYPE> \
  -e PORT=<PORT> \
  -e AUTH_TOKEN=<AUTH_TOKEN> \
  -e MODEL_REPO=openai/whisper-large-v3 \
  -e MODEL_SIZE=<MODEL_SIZE> \
  -e MODEL_BATCH=<MODEL_BATCH> \
  -e PIPELINE_MAX_BATCH_SIZE=<PIPELINE_MAX_BATCH_SIZE> \
  -e CHUNK_LENGTH=<CHUNK_LENGTH> \
  -e PREPROCESSOR_WORKERS=<PREPROCESSOR_WORKERS> \
  -e MODEL_INSTANCES=<MODEL_INSTANCES> \
  -e PREPROCESSOR_QUEUE_DELAY=<PREPROCESSOR_QUEUE_DELAY> \
  -e MODEL_QUEUE_DELAY=<MODEL_QUEUE_DELAY> \
  -e ENSEMBLE_QUEUE_DELAY=<ENSEMBLE_QUEUE_DELAY> \
  -e HUGGINGFACE_ACCESS_TOKEN=<HUGGINGFACE_ACCESS_TOKEN> \
  -e THESTAGE_AUTH_TOKEN=<THESTAGE_ACCESS_TOKEN> \
  public.ecr.aws/i3f7g5s7/thestage/elastic-models:0.2.4.post0-stt-streaming-v2-20261008-19026a9
ParameterDescription
stt_streaming for Whisper models. The image default is stt_streaming_v2, which serves Parakeet only.
Port the HTTP proxy listens on inside the container (default: 80).
User-defined secret key to authenticate incoming requests.
Available: S, M, L, XL.
Maximum batch size for the model.
Maximum batch size for the ASR pipeline processing.
Audio chunk length in seconds. 30 for any model; 10, 15, 20 only for TheStageAI/thewhisper-large-v3(-turbo) with a non-eager size.
Number of preprocessor worker processes (e.g., 8).
Number of Triton model instances (e.g., 1).
Preprocessor dynamic-batching queue delay in microseconds (e.g., 10000).
Model dynamic-batching queue delay in microseconds (e.g., 10000).
Ensemble dynamic-batching queue delay in microseconds (e.g., 10000).
Hugging Face access token.
TheStage token generated on the platform (Profile -> Access tokens).

Invocation

CLI

elastic-models-client client stt \
    --host 127.0.0.1 --port <PORT> --metadata-port <PORT> \
    --authorization <AUTH_TOKEN> \
    --sample sample.wav --lang-id en

cURL

curl -X POST http://127.0.0.1:<PORT>/v1/audio/transcriptions \
    -H "Authorization: Bearer <AUTH_TOKEN>" \
    -F "file=@sample.wav" \
    -F "model=whisper-large-v3-<MODEL_SIZE_LOWER>-cl<CHUNK_LENGTH>-bs<MODEL_BATCH>" \
    -F "language=en"

Endpoint Parameters

Method

POST /v1/audio/transcriptions

Header Parameters

Authorization: string
Bearer token for authentication; it must match the container's AUTH_TOKEN.

Input Body

All fields are sent as multipart/form-data.

file : binary
The audio file to transcribe.

model : string
Specifies the model to use for transcription. Format: whisper-large-v3- -cl -bs , where is MODEL_SIZE lowercased (s, m, l, xl), is CHUNK_LENGTH, and is MODEL_BATCH. Example: whisper-large-v3-s-cl15-bs1.

language : string
Language of the audio (e.g., "en", "es", "fr").