# Whisper Audio & Video Transcription: USD 0.005 per Minute (`usefulapi/whisper-transcribe`) Actor

Transcribe audio and video files and podcast feeds with open-source Whisper (base or small) running on the Actor itself: text, timestamped segments, SRT, VTT, TXT and JSON in 99 languages, or translate to English. USD 0.005 per audio minute (base), USD 0.009 (small). No API key.

- **URL**: https://apify.com/usefulapi/whisper-transcribe.md
- **Developed by:** [Useful API](https://apify.com/usefulapi) (community)
- **Categories:** AI, Videos, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 audio minute transcribed, base models

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Whisper Audio & Video Transcription

Turn audio and video files and podcast episodes into text with **open-source Whisper running on this Actor's own
server**. You get the full text, timestamped segments, and ready **SRT, VTT, TXT and JSON** files, in 99 languages,
or an English translation. No API key, no account anywhere else, and your audio is not sent to any third-party
AI service.

**Price: USD 0.005 per audio minute (base model) or USD 0.009 (small model)**, plus USD 0.002 per file and
USD 0.006 per run. A 1-hour podcast episode costs about USD 0.31 with base.

### What it does

- Reads **direct links to audio or video files**: mp3, m4a, aac, wav, flac, ogg, opus, webm, mp4, mov, mkv, avi,
  wma and most other formats FFmpeg can decode. Video files: the audio track is transcribed.
- Reads **podcast RSS and Atom feeds**: give the feed link, choose how many of the newest episodes to transcribe.
- Reads **files in your Apify key-value store**: use the record's signed link (with `?signature=`), because this
  Actor runs with Apify's limited permissions.
- Google Drive and Dropbox share links of public files are turned into their direct download links.
- **Detects the language** (or you set it), **transcribes**, or **translates to English** (Whisper's own
  translation, same price).
- Optional **vocabulary hint**: names and terms written the way you want them spelled.
- Optional **word timestamps**: start, end and confidence of every word (same price).

### What it does not do

- **No YouTube, TikTok, Instagram, Vimeo, Spotify, Apple Podcasts, SoundCloud, X, Facebook or other platform
  pages.** Those links are refused without being opened (status `unsupported_page`), and nothing is downloaded
  through the platform. A link that returns a web page instead of a file gets the same status.
- **No speaker labels** (who said what). There is no free speaker-separation model that runs on this server at this
  price; we would rather say so than add a paid AI service behind your back.
- No summaries, chapters or AI rewriting: you get Whisper's transcript as it is.
- It respects each media host's **robots.txt** and identifies itself honestly (`UsefulApiBot`). A host that asks
  bots not to download a file gets the status `robots_disallowed`, not a disguised request.

### Models and measured accuracy

Both models are OpenAI's open-source Whisper weights in the CTranslate2 version (faster-whisper, 8-bit, CPU), with
voice-activity detection so long silences are skipped and invented text in silence is less likely.

| Model | Beam | WER, clean read English (10 min) | CPU seconds per audio minute on Apify (1 core) | Price per minute |
|---|---|---|---|---|
| base | 5 | **4.5%** | 8.4 to 10.8 | USD 0.005 |
| small | 1 | **4.3%** | 18.5 to 20.0 | USD 0.009 |

Spot checks on other recordings (base model, same build, 19 Nov 2026), all public domain:

| Recording | Word error rate | Reference | Typical errors |
|---|---|---|---|
| NASA Expedition 61 holiday message (mp4 video, 2.5 min) | 6.2% | NASA's own caption file | caption style differences, a few words |
| General Pershing, "Address from France" (1918 phonograph, 32 s) | 11.9% | Wikimedia Commons captions | "unleashing support" for "unflinching support", "You're blocking the spirit" for "Invoking the spirit" |
| Stephen Hawking, White House lecture (synthetic voice, 30 s) | not scored | | "HD Wells" for "H. G. Wells" |
| Eichendorff, "Frische Fahrt" (German poem, LibriVox, 72 s) | not scored | | language detected (de, 0.998); poetry words wrong: "Hochaurrohrer" for "Hoch Aurora" |

**What this test does and does not show:** one clean recording of read speech (a LibriVox volunteer reading
"A Scandal in Bohemia", the first 10 minutes), scored against the Project Gutenberg text with a simple word
error rate script (punctuation and case ignored; numbers written as digits count as errors). Interviews, phone
calls, noisy rooms, strong accents, music and overlapping speech will give more errors, and no other language was
scored. We publish the figure so you can compare; we do not claim it for your audio.

### Input

| Field | What it is | Default |
|---|---|---|
| Links to audio, video or podcast feeds | Direct file links, feed links, signed key-value store record links; or upload a text file of links | |
| Model | `base` (cheaper) or `small` (more accurate) | base |
| Language | Detect automatically, or one of 99 languages | auto |
| Task | Transcribe, or translate to English | transcribe |
| Episodes per podcast feed | Newest episodes per feed | 1 |
| Word timestamps | Start, end and confidence of every word | off |
| Vocabulary hint | Up to 500 characters of names and terms | |
| Max minutes per file | Longer files are cut there (or skipped) | 180 (max 600) |
| Longer files | `cut` (transcribe the first part) or `skip` (not billed) | cut |
| Max total audio minutes per run | The run stops cleanly after this many billed minutes | 1000 |
| Max file size | Bigger files are not downloaded | 2000 MB (max 2000) |

Example:

```json
{
  "startUrls": [
    { "url": "https://archive.org/download/adventures_holmes/adventureholmes_01_doyle_64kb.mp3" },
    { "url": "https://www.nasa.gov/feeds/podcasts/houston-we-have-a-podcast" }
  ],
  "model": "base",
  "language": "auto",
  "maxEpisodesPerFeed": 2,
  "maxMinutesPerFile": 90
}
```

### Output

One dataset row per file (and one row per link that could not be transcribed, with the reason):

First 2 of its 6 segments shown:

```json
{
  "url": "https://upload.wikimedia.org/wikipedia/commons/a/af/Pershing_-_Address_from_France.ogg",
  "fileName": "Pershing_-_Address_from_France.ogg",
  "fileSizeBytes": 381552,
  "durationSeconds": 31.693,
  "status": "ok",
  "model": "base",
  "beamSize": 5,
  "task": "transcribe",
  "language": "en",
  "languageProbability": 0.955,
  "languageSource": "detected",
  "transcribedToSecond": 31.693,
  "speechSeconds": 29.5,
  "billedMinutes": 1,
  "truncated": false,
  "processingSeconds": 2.67,
  "text": "3,000 miles from home, an American Army is fighting for you. Everything you hold worthwhile is at stake. Only the hardest blows can win against the enemy we are fighting. You're blocking the spirit of our forefathers. The Army asks your unleashing support to the end at the high ideals for which America stands they endure upon the earth.",
  "segmentCount": 6,
  "srtUrl": "https://api.apify.com/v2/key-value-stores/sHOuiLuweyWJAVtWh/records/0001-Pershing_-_Address_from_France.srt?signature=...",
  "vttUrl": "https://api.apify.com/v2/key-value-stores/sHOuiLuweyWJAVtWh/records/0001-Pershing_-_Address_from_France.vtt?signature=...",
  "txtUrl": "https://api.apify.com/v2/key-value-stores/sHOuiLuweyWJAVtWh/records/0001-Pershing_-_Address_from_France.txt?signature=...",
  "jsonUrl": "https://api.apify.com/v2/key-value-stores/sHOuiLuweyWJAVtWh/records/0001-Pershing_-_Address_from_France.json?signature=...",
  "billed": {
    "file": 1,
    "audio-minute-base": 1
  },
  "segments": [
    {
      "start": 0,
      "end": 6,
      "text": "3,000 miles from home, an American Army is fighting for you.",
      "avgLogprob": -0.3023,
      "noSpeechProb": 0.2544,
      "compressionRatio": 1.536
    },
    {
      "start": 6,
      "end": 10,
      "text": "Everything you hold worthwhile is at stake.",
      "avgLogprob": -0.3023,
      "noSpeechProb": 0.2544,
      "compressionRatio": 1.536
    }
  ]
}
```

- `status`: `ok`, `partial` (cut at your limit, stopped by your maximum cost or the run timeout: the text of every
  billed minute is kept), `failed`, `unsupported_page`, `robots_disallowed`, `no_audio` or `skipped`.
- `segments`: `start` and `end` in seconds, `text`, and Whisper's own confidence signals per segment:
  `avgLogprob` (closer to 0 is surer), `noSpeechProb` (high = probably no speech there) and `compressionRatio` (high = repeated text, a sign of a hallucination loop).
- `srtUrl`, `vttUrl`, `txtUrl`, `jsonUrl`: signed links to the files, kept in a separate unnamed key-value store of
  your account (it holds only these files). The run's summary (`OUTPUT` in the default store) has a link to a ZIP of
  all of them, valid 7 days.
- Podcast episodes also carry `feedTitle`, `episodeTitle`, `published` and `feedUrl`.

### Pricing (pay per event)

| Event | Price |
|---|---|
| Run start | USD 0.0015 per GB of memory: USD 0.006 per run (the Actor always runs at 4 GB) |
| File opened as audio or video (download of the first 20 MB, format check, SRT/VTT/TXT/JSON) | USD 0.002 |
| Each MB of a file past the first 20 MB | USD 0.00003 (USD 0.03 per GB) |
| Audio minute, base model | **USD 0.005** |
| Audio minute, small model | **USD 0.009** |

Each **started** minute of a file is billed, silence included (a 61-second file is 2 minutes). Minutes are billed as
the transcription reaches them, so if the run stops early you pay only for the minutes you got text for (plus the
minute being worked on, in rare cases).

Examples: a 30-second clip with base: 0.006 + 0.002 + 0.005 = **USD 0.013**. A 60-minute, 55 MB podcast episode
with base: 0.006 + 0.002 + 35 x 0.00003 + 60 x 0.005 = **USD 0.309**; with small: **USD 0.549**. Ten 10-minute
files in one run with base: 0.006 + 10 x 0.002 + 100 x 0.005 = **USD 0.526**.

Not billed: links refused (platform pages, web pages, robots.txt), dead links and broken files (while the run's
own surplus covers the time they took), files skipped as too long, and rows.

Your **maximum cost per run** (Run options) is respected: the Actor works out how many minutes it can still afford,
transcribes that far, and stops strictly below your maximum with the text so far saved.

### Speed and limits

- Speed on Apify's servers (1 CPU core at 4 GB), measured: the base model needed 8.4 to 10.8 seconds per audio minute (about 5.5 to 7 times faster than real time), small 18.5 to 20.0 seconds (about 3 times faster). A 60-minute episode takes about 9 to 11 minutes with base and 19 to 20 minutes with small, plus 10 to 20 seconds to start the server.
- Max file size 2 GB; max 600 minutes per file; one run handles up to 5,000 links. Set the run timeout to fit your
  audio (default 4 hours).
- Files are transcribed one after another; the next file downloads while the current one is transcribed.

### Privacy

- Audio and video files are downloaded to the run's temporary disk, transcribed there, and **deleted as soon as each
  file is done**. They are not stored anywhere else.
- Nothing is sent to any third party: transcription runs on this Actor's own server with open-source models.
- Transcripts are saved only in your own Apify storage (the run's dataset and a separate unnamed key-value store,
  which Apify keeps for your account's data retention period). Anyone who has a signed file link can open that
  file, so share links with care.

### Tips

- Set the language when you know it: detection listens to the first speech and can be wrong on short clips or
  intros with music.
- Use `small` for accents, noise, names and technical talk; use `base` for clean speech and big volumes.
- Use "Max minutes per file" and "Max total audio minutes per run" to test a few minutes first.

# Actor input Schema

## `startUrls` (type: `array`):

Direct links to audio or video files (mp3, m4a, aac, wav, flac, ogg, opus, webm, mp4, mov, mkv and more), podcast RSS or Atom feeds, or records in your Apify key-value store. You can also upload a text file of links. YouTube, TikTok, Instagram, Vimeo, Spotify and other platform pages are not supported and are refused without being opened.

## `model` (type: `string`):

Open-source Whisper models running on this Actor's own CPU. Measured word error rate on clean read English: base 4.4%, small 3.8% (see the README for the test and its limits).

## `language` (type: `string`):

The spoken language. "Detect automatically" listens to the first speech; setting the language avoids a wrong guess on short or mixed files.

## `task` (type: `string`):

Translate gives English text from speech in any language (Whisper's built-in translation, same price).

## `maxEpisodesPerFeed` (type: `integer`):

For each feed link, the newest episodes to transcribe.

## `wordTimestamps` (type: `boolean`):

Adds the start and end time and a confidence of every word to each segment (in the row and the JSON file). Same price.

## `initialPrompt` (type: `string`):

Names and terms that appear in the audio, written as you want them spelled (for example "Sherlock Holmes, Irene Adler, Bohemia"). Whisper uses it as context; it is a hint, not a guarantee.

## `maxMinutesPerFile` (type: `integer`):

Longer files are cut here (or skipped, below). Hard maximum 600 minutes.

## `longFiles` (type: `string`):

What to do with a file longer than "Max minutes per file".

## `maxTotalMinutes` (type: `integer`):

The run stops cleanly after this many billed audio minutes. Your maximum cost per run (run options) also stops it, strictly below the amount you set.

## `maxFileSizeMb` (type: `integer`):

Bigger files are not downloaded.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://archive.org/download/adventures_holmes/adventureholmes_01_doyle_64kb.mp3"
    }
  ],
  "model": "base",
  "language": "auto",
  "task": "transcribe",
  "maxEpisodesPerFeed": 1,
  "wordTimestamps": false,
  "maxMinutesPerFile": 180,
  "longFiles": "cut",
  "maxTotalMinutes": 1000,
  "maxFileSizeMb": 2000
}
```

# Actor output Schema

## `transcripts` (type: `string`):

Status, language, duration, billed minutes, full text, segments with timestamps, and links to the SRT, VTT, TXT and JSON files.

## `allFields` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://archive.org/download/adventures_holmes/adventureholmes_01_doyle_64kb.mp3"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("usefulapi/whisper-transcribe").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://archive.org/download/adventures_holmes/adventureholmes_01_doyle_64kb.mp3" }] }

# Run the Actor and wait for it to finish
run = client.actor("usefulapi/whisper-transcribe").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://archive.org/download/adventures_holmes/adventureholmes_01_doyle_64kb.mp3"
    }
  ]
}' |
apify call usefulapi/whisper-transcribe --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,usefulapi/whisper-transcribe"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/kAhjdVxkt7kf8kOcQ/builds/cg2UbTUhR0so1kbP0/openapi.json
