Audio model · OpenAI
Whisper-1 API: Pricing and How to Call It
OpenAI Whisper-1 speech-to-text on TokenRa. Upload any audio file as multipart/form-data and get back a transcript synchronously. Billed per audio minute at $9 per million tokens (1 000 tokens per minute), with no output tokens charged.
- Input
- $9per million tokens
- Output
- $0no output tokens
- Billing basis
- Per tokenssettled against prompt_tokens
- Model ID
whisper-1- Provider
- OpenAI
- Input
- Audio file
- Output
- Transcript text
- Mode
- Synchronous
- Formats
- mp3 wav m4a flac ogg webm
Overview
What it is
Whisper-1 is OpenAI’s general-purpose speech recognition model. On TokenRa it is served behind the standard OpenAI-compatible endpoint — the same code that calls OpenAI directly works here, just change the base URL and the API key.
Unlike video generation, Whisper-1 is synchronous: you POST an audio file and the transcript comes back in the response body. There is no task ID to poll.
- Billing is per audio token. One minute of audio equals 1 000 tokens, so a five-minute recording costs roughly $0.045.
- The
languagefield is optional — the model detects the language automatically — but specifying it speeds up processing and reduces errors on short clips. - The
response_formatfield controls the shape of the response: plain text, JSON, subtitle formats (srt, vtt), or verbose JSON with per-segment timestamps.
Pricing
Whisper-1 pricing
Billing on TokenRa is per audio token. One minute of audio equals 1 000 tokens regardless of the number of words spoken. The rate is $9 per million tokens, settled against prompt_tokens in the response. There are no output tokens.
| Type | Price | Notes |
|---|---|---|
prompt_tokens | $9 / million tokens | 1 000 tokens per minute of audio |
completion_tokens | $0 | Always zero for Whisper-1 |
The live price in the Model Square is authoritative; this page is kept in step with it.
Integration
How to call it
multipart/form-data. The transcript is returned synchronously in the response body.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
file | file | Yes | Audio file to transcribe. Supported: mp3, wav, m4a, flac, ogg, webm, mp4. |
model | string | Yes | Must be whisper-1. |
language | string | No | ISO-639-1 code, e.g. en, zh. Auto-detected if omitted. |
response_format | string | No | One of json (default), text, srt, vtt, verbose_json. |
prompt | string | No | Optional text to guide transcription style or vocabulary. |
temperature | number | No | Sampling temperature 0–1. Default 0. |
cURL example
curl https://tokenra.io/v1/audio/transcriptions -H "Authorization: Bearer $TOKENRA_API_KEY" -F file=@audio.mp3 -F model="whisper-1"Python example
from openai import OpenAI
client = OpenAI(
api_key="YOUR_TOKENRA_API_KEY",
base_url="https://tokenra.io/v1",
)
with open("audio.mp3", "rb") as f:
transcript = client.audio.transcriptions.create(
model="whisper-1",
file=f,
)
print(transcript.text)FAQ
Frequently asked questions
What is Whisper-1?
OpenAI speech-to-text. Send an audio file and get a text transcript back synchronously — no polling.
How is billing calculated?
One minute of audio equals 1 000 tokens, billed at $9 per million tokens. A five-minute recording costs $0.045. Output tokens are always zero.
What audio formats are supported?
mp3, wav, m4a, flac, ogg, webm, and mp4. Send the file as the file field in a multipart/form-data request.
How do I get subtitles instead of plain text?
Set response_format to srt or vtt. For per-word timestamps use verbose_json.
Do I need to specify the language?
No. The model detects it automatically. Specifying language with an ISO-639-1 code speeds up processing and reduces errors on short clips.