Unit Cost Models // DialStack Metrics
Deepgram Nova-2 Streaming STT: Minute Billing & Phonecall Accuracy
Deepgram Nova-2 bills strictly by audio stream duration (~$0.0043-$0.0059/min), making it less than half of wrapper STT rates.
Measured Unit Economics & Telemetry
Wrapper platforms routinely mark up streaming transcription to $0.010-$0.015/min. Connecting Pipecat directly to Deepgram nova-2-phonecall over persistent WebSockets locks PAYG rates at $0.0059/min with sub-130ms transcript emission.
| Cost / Latency Line | Audited Value | FinOps Impact |
|---|---|---|
| Nova-2 Streaming PAYG | $0.0059 / min | Zero wrapper markup |
| Nova-2 Growth / Scale | $0.0043 - $0.0048 / min | Prepaid volume discount |
| Phonecall Model Tuning | nova-2-phonecall + ulaw | Trained on 8 kHz PSTN audio |
| Interim Emit Latency | 95 - 130 ms | Feeds early EOU speculation |
Implementation & Configuration Checklist
- Send Native 8 kHz Mulaw: Forward telco mulaw frames straight to Deepgram without upsampling to save bandwidth.
- Enable Smart Format & Numerals: Convert spoken phone numbers and dates cleanly for CRM tool calls.
- Close WS Immediately on Hangup: Ensure Pipecat sends CloseStream on SIP BYE so orphaned sockets do not linger.
DEEPGRAM_MODEL=nova-2-phonecall
DEEPGRAM_ENCODING=mulaw
DEEPGRAM_SAMPLE_RATE=8000
DEEPGRAM_ENDPOINTING=280
FinOps Engineering FAQ
Does Deepgram bill while the AI agent is speaking?
Yes, an open streaming WebSocket bills for continuous channel duration unless half-duplex gating is used, which risks missing barge-ins.
Should I self-host Whisper instead of Deepgram?
Self-hosting Whisper requires GPU VRAM ($150-$400/mo); below 100k minutes/month, Deepgram Nova-2 is cheaper and lower latency.