The open-source profiler for voice agents

See what your voice agents really cost.

Add one line and every STT, LLM, and TTS call is priced and timed: cost to the cent, latency p50/p95, quality. Works with LiveKit and Pipecat, on your own keys. We store telemetry rows, never the live audio path.

$pip install voicegatewaythen attach(session)
Any provider you useOpenAIDeepgramAnthropicGroqCartesia+ local
Spend · last 7 days
$0
▲ 12%
OpenAI
$61.20
Deepgram
$28.10
Cartesia
$17.40
MIT licensedSelf-host or hostedBring your own keysNever in your audio path
Live demo

See it before you install.

A real VoiceGateway dashboard on example data: per-agent cost, the STT/LLM/TTS latency split, fleet compute and memory, reconciliation. No signup, nothing to run.

The VoiceGateway dashboard on example data: spend, fleet, and per-agent cost and latency.
Open the live demo →
Quickstart

Two lines. Every call priced.

attach() meters the STT, LLM, and TTS instances you already run on LiveKit or Pipecat. It reads cost and timing off each call and never sits in the audio path.

agent.py
from voicegateway import attach

# your existing LiveKit / Pipecat session, on your own keys
attach(session)  # every STT, LLM, and TTS call now priced and timed
Read the quickstart →
What you get

Every dollar and millisecond, on the record.

VoiceGateway records one telemetry row per request and rolls it up into the views your team already reaches for: spend, latency, calls, and reconciliation.

Cost tracking & reconciliation

Every STT, LLM, and TTS call priced through a single catalog. Spend by pipeline stage, provider, and model, then run voicegw reconcile to verify recorded numbers against provider invoices.

Latency waterfalls

Per-stage latency with time-to-first-audio, TTFB, and p95. Compare distributed against colocated deployments to see where the milliseconds go.

Call records

One record per telephony or web call, expandable into a per-request latency timeline across every STT, LLM, and TTS hop.

Agent dashboard

Live worker cards showing each STT/LLM/TTS stack, per-project spend and latency, and a real test call you can place from the dashboard.

Diagnostics

Built-in LiveKit credential and connectivity checks, so a broken key surfaces here before it ever reaches a caller.

Open source + hosted

An MIT-licensed engine you can self-host, or the hosted cloud dashboard when you would rather not run it yourself.

Call detail

Replay any call, priced to the token.

A per-request cost row and a stage-by-stage latency waterfall, reconciled against the invoice you actually pay.

  • Priced per request, split across STT, LLM, and TTS
  • Time-to-first-audio and p95 for every stage
  • Recorded totals checked against provider invoices
Providers

Every provider you run, on one meter.

attach() meters whatever STT, LLM, and TTS plugins you already run on LiveKit or Pipecat. It never picks your providers. The common ones are priced out of the box; anything else records and flags for a rate-card entry.

OpenAIDeepgramAnthropicGroqCartesiaElevenLabsAssemblyAIWhisperOllamaKokoroPiper
OpenAIDeepgramAnthropicGroqCartesiaElevenLabsAssemblyAIWhisperOllamaKokoroPiper
OpenAIDeepgramAnthropicGroqCartesiaElevenLabsAssemblyAIWhisperOllamaKokoroPiper
How it works

Three env vars. First call lands in seconds.

Keep your agent on its own provider keys. Set a collector URL, an ingest key, and a project name, and the first telemetry row appears within moments. No pipeline changes.

  1. 1

    Create a project and ingest key

    Spin up a workspace in the dashboard and mint a vk_ ingest key scoped to it.

  2. 2

    Set three environment variables

    VOICEGW_COLLECTOR_URL, VOICEGW_API_KEY, and VOICEGW_PROJECT. attach() reads them. No changes to your pipeline.

  3. 3

    Place a call

    Telemetry streams in as the call runs. Cost rows, latency, and reconciliation populate within moments.

bash · agent setup
✓ attached project=my-agent call 8f2c $0.04 640ms to first audio✓ telemetry live on dash.voicegateway.dev

Want a hosted version?

The engine is open-source and yours to self-host today. A hosted cloud (managed collector, shared dashboard) is on the roadmap. If enough people want it, we build it. Add your name and we email once, if it ships.

Not ready to install? Explore the live demo →