Skip to main content

Self-hostable STT evaluation toolkit: compare providers on WER, latency, cost, and streaming UX

Project description

STT Bench

CI License: MIT

Self-hostable STT evaluation toolkit for comparing speech-to-text providers on quality (WER/chrF), streaming latency, cost, and a dictation-oriented vibe score.

This is not a Whisper demo. It is a reproducible harness for builders choosing STT for dictation and voice-agent systems — CLI + local Docker service + PR-friendly reports.

PyPI package name: stt-eval-bench (the name stt-bench was already taken on PyPI). CLI command remains stt-bench.

Quick start (2 minutes)

pip install stt-eval-bench

stt-bench benchmark run --provider mock --force
stt-bench report --format markdown
stt-bench results leaderboard

No API keys required for mock runs.

From source / editable install:

git clone https://github.com/BrickerP/stt-bench.git
cd stt-bench
pip install -e ".[dev]"

What you get

Surface Description
CLI compare, listen, benchmark, report, results
Local service stt-bench serve or docker compose up — FastAPI + SQLite
Providers mock, whisper, deepgram, assemblyai (pluggable)
Reports Markdown suitable for PR comments

Self-host in 60s

docker compose up --build -d
curl -s http://127.0.0.1:8766/healthz
curl -s http://127.0.0.1:8766/version

Details: docs/service.md

With real providers

cp .env.example .env   # OPENAI_API_KEY / DEEPGRAM_API_KEY / ASSEMBLYAI_API_KEY
stt-bench listen 1089-134686-0000_noisy
stt-bench compare --all

Dataset

31 samples in data/manifest.json (LibriSpeech subset + one noisy clip).

stt-bench samples
stt-bench dataset validate

Metrics

WER · chrF · punctuation F1 · TTFT · RTF · cost · vibe score — see stt-bench math.

Contributing

See CONTRIBUTING.md and docs/providers.md.
Maturity / Codex-for-OSS execution gate: docs/OSS_MATURITY.md.
Architecture: DESIGN.md.

License

MIT — see LICENSE. LibriSpeech data: CC BY 4.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stt_eval_bench-0.1.1.tar.gz (41.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stt_eval_bench-0.1.1-py3-none-any.whl (51.5 kB view details)

Uploaded Python 3

File details

Details for the file stt_eval_bench-0.1.1.tar.gz.

File metadata

  • Download URL: stt_eval_bench-0.1.1.tar.gz
  • Upload date:
  • Size: 41.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for stt_eval_bench-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ab5a3ad76b79b5646b2a0fb7ce23403272e52873757a442927e06ad72432423a
MD5 20458001415ed232602ed945937e781b
BLAKE2b-256 9de860847477c2f0d9974064e60afd024c7e872c56e09143a53b2b4eeed18f3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for stt_eval_bench-0.1.1.tar.gz:

Publisher: release.yml on BrickerP/stt-bench

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stt_eval_bench-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: stt_eval_bench-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 51.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for stt_eval_bench-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1516626e1a295418878397f9829ada7a09a46602391fda308a61a2eb6dee2a7
MD5 4739cd74e0752b52dff1551352621f0b
BLAKE2b-256 19ab9c16f519d24dd88f909bbe22ebd4f60e88294491fcb752fe734980e7644f

See more details on using hashes here.

Provenance

The following attestation bundles were made for stt_eval_bench-0.1.1-py3-none-any.whl:

Publisher: release.yml on BrickerP/stt-bench

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page