{
 "kind": "api",
 "slug": "whisper",
 "path": "apis/whisper/",
 "name": "Whisper (self-hosted)",
 "logo": "https://agentgid.com/media/avatars/openai.png",
 "maker": "OpenAI (open source)",
 "density": "full",
 "crumbs": [
  [
   "APIs",
   "apis/"
  ],
  [
   "Speech-to-text and transcription",
   "apis/speech-to-text/"
  ]
 ],
 "lead": "Turn speech into text on your own machine.",
 "chips": [
  {
   "label": "Speech-to-text and transcription",
   "path": "apis/speech-to-text/"
  }
 ],
 "primary": {
  "label": "Copy prompt for your agent",
  "copy": "Add local speech-to-text with openai-whisper 20250625 in a Python venv: load whisper.load_model(\"small\"), transcribe the uploaded file with fp16=False on a server without a graphics card, and return the text with segment start and end times; make sure ffmpeg is installed."
 },
 "links": [
  {
   "label": "Website",
   "href": "https://github.com/openai/whisper"
  },
  {
   "label": "GitHub",
   "href": "https://github.com/openai/whisper"
  }
 ],
 "track": "Outages, price changes and new versions on your dashboard",
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Open source",
   "status": "yes",
   "sub": "Run it yourself for free",
   "quote": null,
   "note": "Free tier: Free (open source, MIT). As reported on the official pricing page, checked Oct 10, 2026.",
   "src": "https://github.com/openai/whisper"
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Allowed",
   "status": "yes",
   "sub": null,
   "quote": "Whisper's code and model weights are released under the MIT License.",
   "note": "MIT license for the code and the model weights; keep the license notice.",
   "src": "https://github.com/openai/whisper/blob/main/README.md"
  },
  {
   "key": "key",
   "label": "Key & sign-up",
   "value": "API key, server only",
   "status": "info",
   "sub": "Env var none (XDG_CACHE_HOME only changes where the model files are kept, default ~/.cache/whisper)",
   "quote": "download_root = os.path.join(os.getenv(\"XDG_CACHE_HOME\", default), \"whisper\")",
   "note": "None. It is a local library with no account or key; the model files download from OpenAI's public storage on first use.",
   "src": "https://github.com/openai/whisper/blob/main/whisper/__init__.py"
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Docs for agents",
   "status": "info",
   "sub": "llms.txt · SDK",
   "quote": null,
   "note": " Our agent check: 3 of 6 (Nov 13, 2026).",
   "src": "https://github.com/llms.txt"
  }
 ],
 "vfoot": "Checked against the maker's official pages, pricing on Oct 10, 2026.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Whisper (self-hosted) does",
   "parts": [
    {
     "t": "prose",
     "text": "Whisper is OpenAI's free, open speech recognition model that you run yourself; it is a Python library, not an online service. It turns recorded speech in many languages into text with timings, and can also translate it into English. There is no per-minute fee; you pay only for the computer or server it runs on."
    },
    {
     "t": "list",
     "items": [
      "Whisper (self-hosted) is one of 17 APIs in the Speech-to-text and transcription category on AgentGid.",
      "It is one of 16 that can be started for free.",
      "5 of them ship an official MCP server; Whisper (self-hosted) does not.",
      "Its official SDK is the 6th most downloaded in the category (1.8M a week)."
     ],
     "muted": true
    },
    {
     "t": "h3",
     "text": "What people build with it"
    },
    {
     "t": "uses",
     "items": [
      {
       "title": "Meeting and interview transcripts",
       "text": "Turn recorded calls, lectures or interviews into text with start and end times, on your own machine, so the audio never leaves it.",
       "idea": true
      },
      {
       "title": "Subtitles for your videos",
       "text": "Make a subtitle file for a video, with the time of every word, so viewers can read along or you can highlight words as it plays.",
       "idea": true
      },
      {
       "title": "Foreign speech into English text",
       "text": "Turn a recording in another language straight into English text, for example a customer voice message in Spanish or Russian.",
       "idea": false
      },
      {
       "title": "Find out which language is spoken",
       "text": "Before you route a voice message or pick a subtitle track, find out which language the speaker uses.",
       "idea": false
      },
      {
       "title": "Captions for people who cannot hear",
       "text": "Add text versions of podcasts, lessons or video calls so that people who are deaf or hard of hearing can follow them.",
       "idea": false
      },
      {
       "title": "Private recordings stay in-house",
       "text": "Transcribe doctor's notes, legal calls or internal meetings on a server you control, when sending audio to an online service is not allowed.",
       "idea": true
      }
     ]
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Whisper (self-hosted) popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "1.7M",
       "l": "SDK downloads a week",
       "d": "+2.0% on the 4-week average",
       "up": true
      },
      {
       "n": "86",
       "l": "public agent repos use its SDK"
      },
      {
       "n": "114K",
       "l": "GitHub stars, openai/whisper"
      }
     ]
    },
    {
     "t": "small",
     "text": "SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026."
    }
   ]
  },
  {
   "id": "pricing",
   "nav": "Pricing and limits",
   "h2": "Pricing",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Free tier",
       "v": "Free (open source, MIT)"
      },
      {
       "l": "Cheapest plan",
       "v": "No monthly plan"
      },
      {
       "l": "Usage price",
       "v": "—"
      },
      {
       "l": "Plans",
       "v": "No per-minute fee: you pay for the CPU or GPU it runs on and for running the service."
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported on the official pricing page, checked Oct 10, 2026. Prices change: confirm before you buy.",
     "link": "",
     "href": null
    }
   ]
  },
  {
   "id": "access",
   "nav": "Access and terms",
   "h2": "Key and access",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "How it signs in",
       "v": "None. It is a local library with no account or key; the model files download from OpenAI's public storage on first use."
      },
      {
       "l": "Environment variable",
       "v": "none (XDG_CACHE_HOME only changes where the model files are kept, default ~/.cache/whisper)",
       "code": true
      },
      {
       "l": "Safe in browser code",
       "v": "No, keep it on your server",
       "status": "no"
      },
      {
       "l": "Card at sign-up",
       "v": "No"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Steps only a person can do"
    },
    {
     "t": "list",
     "items": [
      "Install the ffmpeg program on the machine (needs admin rights on Linux, Homebrew on a Mac). Check that ffmpeg -version works, then install openai-whisper in the project's virtual environment.",
      "Decide where it runs; the larger models need an NVIDIA graphics card with enough memory. Pick the model size that fits the machine (small runs on a laptop processor)."
     ]
    }
   ]
  },
  {
   "id": "terms",
   "nav": null,
   "spy_as": "access",
   "h2": "Commercial use and your data",
   "parts": [
    {
     "t": "prose",
     "text": "The code and the model weights are free under the MIT license. You may use them in paid products and change them; keep the license notice when you ship the code."
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In a paid app",
       "v": "Yes",
       "status": "yes",
       "sub": "MIT license for the code and the model weights; keep the license notice.",
       "quote": "Whisper's code and model weights are released under the MIT License.",
       "src": "https://github.com/openai/whisper/blob/main/README.md"
      },
      {
       "l": "inside-app-bundle",
       "v": "Yes",
       "status": "yes",
       "sub": "You may ship the code and the model files inside your app with the MIT notice included.",
       "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
       "src": "https://github.com/openai/whisper/blob/main/LICENSE"
      },
      {
       "l": "redistribute-files",
       "v": "Yes",
       "status": "yes",
       "sub": "The model weights are under the same MIT license as the code; include the notice.",
       "quote": "Whisper's code and model weights are released under the MIT License.",
       "src": "https://github.com/openai/whisper/blob/main/README.md"
      },
      {
       "l": "client-work",
       "v": "With conditions",
       "status": "cond",
       "sub": "Allowed under MIT; the makers advise against transcribing people without their consent and against high-risk decisions.",
       "quote": "We recommend against use in high-risk domains like decision-making contexts, where flaws in accuracy can lead to pronounced flaws in outcomes.",
       "src": "https://github.com/openai/whisper/blob/main/model-card.md"
      }
     ]
    }
   ]
  },
  {
   "id": "errors",
   "nav": null,
   "spy_as": "access",
   "h2": "Errors to handle",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'",
       "v": "Whisper opens audio files with the ffmpeg program, and it is not installed.",
       "sub": "Install ffmpeg with the system package manager (brew, apt, choco), or pass the audio as a 16 kHz array as in our demo."
      },
      {
       "l": "UserWarning: FP16 is not supported on CPU; using FP32 instead",
       "v": "Without an NVIDIA graphics card the model runs on the processor in full precision.",
       "sub": "Harmless; pass fp16=False to transcribe() to silence it."
      },
      {
       "l": "No module named 'setuptools_rust'",
       "v": "The tiktoken package had no ready-made build for your system and needs Rust to compile.",
       "sub": "pip install setuptools-rust (and install Rust if asked), then install openai-whisper again."
      },
      {
       "l": "Model has been downloaded but the SHA256 checksum does not not match",
       "v": "The model file download was cut off or damaged.",
       "sub": "Run load_model() again; it downloads the file once more."
      },
      {
       "l": "Translation comes back in the original language",
       "v": "The default turbo model is not trained to translate.",
       "sub": "Use model medium or large with task translate."
      }
     ]
    }
   ]
  },
  {
   "id": "agent",
   "nav": "For agents",
   "h2": "Use it from an agent",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Our agent check",
       "v": "3 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP no, status page no, AI assistants allowed yes",
       "sub": "Checked Nov 13, 2026."
      },
      {
       "l": "MCP server",
       "v": "None found",
       "sub": null
      },
      {
       "l": "PyPI",
       "v": "pip install openai-whisper",
       "code": true
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Whisper (self-hosted)",
       "me": true,
       "facts": [
        "Free (open source)",
        "Free tier"
       ]
      },
      {
       "name": "faster-whisper",
       "why": "Pick faster-whisper when you run the same models yourself but want them faster and lighter on memory, and without installing ffmpeg.",
       "path": "apis/faster-whisper/",
       "facts": [
        "Free (open source)",
        "Free tier"
       ]
      },
      {
       "name": "whisper.cpp",
       "why": "Pick whisper.cpp when you do not want Python, for example inside a desktop app or on Apple Silicon.",
       "path": "apis/whisper-cpp/",
       "facts": [
        "See its page",
        "No free tier"
       ]
      },
      {
       "name": "Groq Speech-to-Text (Whisper)",
       "why": "Pick Groq Speech-to-Text when you do not want to run a server; it hosts Whisper Large V3 and bills per hour of audio.",
       "path": "apis/groq-speech/",
       "facts": [
        "from $0.04/hour",
        "Free tier"
       ]
      }
     ],
     "more": "All speech-to-text and transcription APIs",
     "more_path": "apis/speech-to-text/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "prompt",
     "text": "Add local speech-to-text with openai-whisper 20250625 in a Python venv: load whisper.load_model(\"small\"), transcribe the uploaded file with fp16=False on a server without a graphics card, and return the text with segment start and end times; make sure ffmpeg is installed."
    },
    {
     "t": "steps",
     "items": [
      {
       "text": "Install the package from PyPI; it brings PyTorch with it.",
       "code": "pip install -U openai-whisper",
       "src": "https://github.com/openai/whisper/blob/main/README.md"
      },
      {
       "text": "Install the ffmpeg program, which Whisper uses to read audio files.",
       "code": "brew install ffmpeg",
       "src": "https://github.com/openai/whisper/blob/main/README.md"
      },
      {
       "text": "Transcribe a file from the command line; the model downloads on first use.",
       "code": "whisper audio.flac audio.mp3 audio.wav --model turbo",
       "src": "https://github.com/openai/whisper/blob/main/README.md"
      }
     ]
    },
    {
     "t": "h3",
     "text": "First request"
    },
    {
     "t": "tabs",
     "label": "First request",
     "items": [
      {
       "tab": "Request",
       "code": "import whisper\n\nmodel = whisper.load_model(\"turbo\")\nresult = model.transcribe(\"audio.mp3\")\nprint(result[\"text\"])",
       "intro": "There is no hosted service for this entry; this is the smallest official example from the README. The README shows no output, so the response is from our own run of the same call (model small, our English clip passed as an array)."
      },
      {
       "tab": "Response",
       "code": " Welcome to the weekly team update. Today we will look at the new sign-up page. The release is planned for Friday morning."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Mistakes to avoid"
    },
    {
     "t": "mistakes",
     "items": [
      {
       "dont": "pip install whisper",
       "fix": "pip install -U openai-whisper (the import name is still whisper)",
       "why": "The package on PyPI is named openai-whisper."
      },
      {
       "dont": "Using the default turbo model with task translate.",
       "fix": "Use model medium or large for translation into English.",
       "why": "turbo is not trained for translation and returns the original language."
      },
      {
       "dont": "Calling transcribe(\"file.mp3\") on a server without ffmpeg.",
       "fix": "Install ffmpeg, or decode the audio yourself and pass a 16 kHz float32 array.",
       "why": "Reading a file path runs the ffmpeg program; an array skips it."
      },
      {
       "dont": "Relying on word timings for translated text.",
       "fix": "Take word timings from a transcribe run in the original language.",
       "why": "The library itself warns that word timings on translations may be wrong."
      },
      {
       "dont": "Downloading models into the web server's home folder at request time.",
       "fix": "Load the model once at start-up; set download_root or XDG_CACHE_HOME to a folder you control.",
       "why": "Models are hundreds of MB (small was 461 MB in our run) and download on the first load_model() call."
      }
     ]
    }
   ]
  },
  {
   "id": "faq",
   "nav": "Questions",
   "h2": "Questions",
   "parts": [
    {
     "t": "faq",
     "items": [
      {
       "q": "Does it cost anything?",
       "a": "No license fee; the code and the model weights are MIT licensed. You pay only for the computer or server that runs it.",
       "evidence": {
        "url": "https://github.com/openai/whisper/blob/main/README.md",
        "quote": "Whisper's code and model weights are released under the MIT License."
       }
      },
      {
       "q": "Which model should I start with?",
       "a": "The command line uses turbo by default and it works well for English; use medium or large to translate into English.",
       "evidence": {
        "url": "https://github.com/openai/whisper/blob/main/README.md",
        "quote": "The default setting (which selects the turbo model) works well for transcribing English."
       }
      },
      {
       "q": "Do the English-only models help?",
       "a": "Yes for English apps, mostly with the small sizes; tiny.en and base.en do better than tiny and base.",
       "evidence": {
        "url": "https://github.com/openai/whisper/blob/main/README.md",
        "quote": "The .en models for English-only applications tend to perform better, especially for the tiny.en and base.en models."
       }
      },
      {
       "q": "How does it handle long recordings?",
       "a": "It reads the whole file and works through it in 30-second windows.",
       "evidence": {
        "url": "https://github.com/openai/whisper/blob/main/README.md",
        "quote": "Internally, the transcribe() method reads the entire file and processes the audio with a sliding 30-second window"
       }
      },
      {
       "q": "Does my audio leave my computer?",
       "a": "No. Only the model files are downloaded from OpenAI's public storage; the transcription runs locally.",
       "evidence": {
        "url": "https://github.com/openai/whisper/blob/main/whisper/__init__.py",
        "quote": "download_root = os.path.join(os.getenv(\"XDG_CACHE_HOME\", default), \"whisper\")"
       }
      }
     ]
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "OpenAI (open source)"
  ],
  [
   "Category",
   "Speech-to-text and transcription"
  ],
  [
   "Price",
   "Free (open source)"
  ],
  [
   "Official SDK",
   "PyPI openai-whisper"
  ],
  [
   "Latest SDK",
   "20250625 on npm"
  ],
  [
   "Agent check",
   "3 of 6"
  ],
  [
   "Pricing checked",
   "Oct 10, 2026"
  ]
 ],
 "good": [
  "No account, key or fee. You need Python, PyTorch and the ffmpeg program, and the first run downloads the model files.",
  "Bigger models are more accurate but need more memory; the large model needs about 10 GB on a graphics card.",
  "Whisper sometimes writes words that were never spoken, so check transcripts before you rely on them."
 ],
 "checked_line": "Read by AgentGid from 11 official pages, card checked Nov 10, 2026; usage numbers update daily."
}