Model reference · open weights

Whisper

On the AxForge API eu-se-1 · Stockholm Audio openai Speech→text 2 builds Open weights 1.8M dl/mo

Whisper is an open-weight audio or speech model from openai, available today on the AxForge serverless API, OpenAI-compatible and hosted in the EU.

Create an account and your API key is available in the console. 3M free tokens every 30 days with every new account.

  • Whisper is a pre-trained Transformer encoder-decoder model by OpenAI designed for automatic speech recognition and speech translation.
  • The openai/whisper-base variant contains 73M parameters and is licensed under Apache-2.0.
  • It supports multilingual tasks, including English, Chinese, German, Spanish, Russian, Korean, French, and Japanese, and is trained on 680k hours of labelled data.

Summary of the openai/whisper-base model card, 2026-10-01

What it is

Released byOpenAI
Released2022-09-26
Parameters73M
VRAM145 MB for the weights

What it runs on

Memory and cards for whisper-base (FP32)

145 MBweights, file size
1.6 GBruntime overhead
CardOne streamMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
build On the API
packaged by Systran
baseINT8 ——
whisper-base (above) ↗ 73MFP32 145 MBRTX 3060 12 GB

From the model card

What OpenAI says about Whisper

Read the model card

Whisper is a pre-trained model for automatic speech recognition (ASR) and speech translation. Trained on 680k hours of labelled data, Whisper models demonstrate a strong ability to generalise to many datasets and domains without the need for fine-tuning.

Whisper was proposed in the paper Robust Speech Recognition via Large-Scale Weak Supervision by Alec Radford et al from OpenAI. The original code repository can be found here.

Disclaimer: Content for this model card has partly been written by the Hugging Face team, and parts of it were copied and pasted from the original model card.

Model details

Whisper is a Transformer based encoder-decoder model, also referred to as a sequence-to-sequence model. It was trained on 680k hours of labelled speech data annotated using large-scale weak supervision.

The models were trained on either English-only data or multilingual data. The English-only models were trained on the task of speech recognition. The multilingual models were trained on both speech recognition and speech translation. For speech recognition, the model predicts transcriptions in the same language as the audio. For speech translation, the model predicts transcriptions to a different language to the audio.

Whisper checkpoints come in five configurations of varying model sizes. The smallest four are trained on either English-only or multilingual data. The largest checkpoints are multilingual only. All ten of the pre-trained checkpoints are available on the Hugging Face Hub. The checkpoints are summarised in the following table with links to the models on the Hub:

SizeParametersEnglish-onlyMultilingual
tiny39 M✓✓
base74 M✓✓
small244 M✓✓
medium769 M✓✓
large1550 Mx✓
large-v21550 Mx✓

Usage

To transcribe audio samples, the model has to be used alongside a WhisperProcessor.

The WhisperProcessor is used to:

  1. Pre-process the audio inputs (converting them to log-Mel spectrograms for the model)
  2. Post-process the model outputs (converting them from tokens to text)

The model is informed of which task to perform (transcription or translation) by passing the appropriate "context tokens". These context tokens are a sequence of tokens that are given to the decoder at the start of the decoding process, and take the following order:

  1. The transcription always starts with the `` token
  2. The second token is the language token (e.g. `` for English)
  3. The third token is the "task token". It can take one of two values: for speech recognition or for speech translation
  4. In addition, a `` token is added if the model should not include timestamp prediction

Thus, a typical sequence of context tokens might look as follows:

Which tells the model to decode in English, under the task of speech recognition, and not to predict timestamps.

These tokens can either be forced or un-forced. If they are forced, the model is made to predict each token at each position. This allows one to control the output language and task for the Whisper model. If they are un-forced, the Whisper model will automatically predict the output langauge and task itself.

The context tokens can be set accordingly:

model.config.forced_decoder_ids = WhisperProcessor.get_decoder_prompt_ids(language="english", task="transcribe")

Which forces the model to predict in English under the task of speech recognition.

Transcription

English to English

In this example, the context tokens are 'unforced', meaning the model automatically predicts the output language (English) and task (transcribe).

>>> from transformers import WhisperProcessor, WhisperForConditionalGeneration
>>> from datasets import load_dataset

>>> # load model and processor
>>> processor = WhisperProcessor.from_pretrained("openai/whisper-base")
>>> model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-base")
>>> model.config.forced_decoder_ids = None

>>> # load dummy dataset and read audio files
>>> ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
>>> sample = ds[0]["audio"]
>>> input_features = processor(sample["array"], sampling_rate=sample["sampling_rate"], return_tensors="pt").input_features

>>> # generate token ids
>>> predicted_ids = model.generate(input_features)
>>> # decode token ids to text
>>> transcription = processor.batch_decode(predicted_ids, skip_special_tokens=False)
[' Mr. Quilter is the apostle of the middle classes and we are glad to welcome his gospel.']

>>> transcription = processor.batch_decode(predicted_ids, skip_special_tokens=True)
[' Mr. Quilter is the apostle of the middle classes and we are glad to welcome his gospel.']

The context tokens can be removed from the start of the transcription by setting skip_special_tokens=True.

French to Fren

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

Benchmarks

Reported results

As published on the model card: the maker's own numbers, not measured by AxForge.

TaskDatasetMetricScore
Automatic Speech RecognitionLibriSpeech (clean)Test WER5.009
Automatic Speech RecognitionLibriSpeech (other)Test WER12.849
Automatic Speech RecognitionCommon Voice 11.0Test WER131

Using it via the API

Call it like any OpenAI endpoint

Whisper answers on the OpenAI-compatible API today as whisper-base, with the same base URL and keys as every other model.

# your API key, from API Keys
export AXFORGE_API_KEY="YOUR_KEY"

curl https://api.axforge.ai/v1/audio/transcriptions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -F file=@meeting.wav \
  -F model=whisper-base
Audio: speech to text, text to speech, music

Create an account and your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms