achetronic/parakeet

OpenAI Whisper-compatible ASR server using NVIDIA Parakeet TDT 0.6B (ONNX). Super fast CPU/GPU transcriptions

What it solves

Traditional speech-to-text services often require heavy Python stacks and complex dependencies. Parakeet provides a lightweight, self-contained Go server that runs NVIDIA's Parakeet TDT model via ONNX Runtime, offering a drop-in replacement for the OpenAI Whisper API. It also addresses long audio by chunking, supports streaming transcriptions, and can optionally distinguish speakers.

How it works

Parakeet uses the NVIDIA Parakeet TDT 0.6B model, converted to ONNX format. The architecture combines a Conformer encoder with a Token-and-Duration Transducer (TDT) decoder, enabling faster inference than autoregressive models. The server exposes REST endpoints compatible with OpenAI's Whisper API, accepting audio uploads and returning transcriptions in JSON, text, SRT, or VTT. For audio longer than the model's limit (400 seconds), it splits into overlapping chunks, using a Silero VAD model to find silent boundaries and avoid word duplication. Optional speaker diarization runs a second model (Nemotron-3) to tag each word with a speaker ID.

Who it's for

Developers and teams who need a self-hosted speech-to-text service that integrates easily with existing Whisper‑based applications, want to avoid Python runtime dependencies, and require features like streaming, long audio support, or speaker diarization. It's also suited for production environments needing structured logs, API key authentication, and optional GPU acceleration.

Highlights

  • OpenAI Whisper-compatible REST API – drop-in replacement.
  • No Python runtime dependency; ONNX Runtime handles inference.
  • Streaming transcriptions via Server-Sent Events.
  • Long audio support with smart chunking (VAD-based boundary detection).
  • Optional speaker diarization (up to 8 speakers).
  • Multiple output formats: JSON, text, SRT, VTT.
  • Quantized int8 models reduce memory (~670MB) and RAM usage.
  • Docker images include models; CUDA image for GPU inference.
  • Environment variables and CLI flags for configuration.

Related

  • Project
  • Project
  • Project
  • Project