I think the default code comes with AssemblyAI by ...
# ask-ai
n
I think the default code comes with AssemblyAI by default. Given I never added an AssemblyAI key or account, how is that service being paid for? I want to make sure that my service doesn’t stop working because I reached the limit on AssemblyAI usage or something like that.
t
Thanks for reaching out, Rifath. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I’m glad you asked. Quick answers: • You do not need your own AssemblyAI key. When AssemblyAI is used via LiveKit Inference (for example
stt="assemblyai/universal-streaming:en"
), LiveKit handles the integration and billing for that model. • Billing for that usage appears under your LiveKit Cloud account as LiveKit Inference usage (metered by connection time in seconds). • Your service won’t suddenly stop because you don’t have an AssemblyAI account, but it can be limited if you exceed your LiveKit plan’s quotas (for example, the Build/free plan has a 5‑connection STT concurrency limit and a $2.50 monthly Inference credit). • To avoid interruptions: monitor LiveKit Inference usage in the LiveKit Cloud dashboard and consider upgrading your plan if you need higher concurrency or more monthly credits. Would you like me to check your current plan’s quotas or walk you to the dashboard where you can monitor Inference usage? Sources: AssemblyAI plugin guide | LiveKit Docs | LiveKit Cloud billing | LiveKit docs | Quotas and limits | LiveKit docs
n
1. How do I set up alerting on this? 2. What is the key metric I need to worry about on the livekit dashboard assuming I am on the “Ship” plan?
t
Responding to both questions about alerting and the key metric for the Ship plan. 1) How to set up alerting • Use LiveKit webhooks to notify your server of usage/limit events (for egress, webhooks send events like
egress_ended
with status
LIMIT_REACHED
). Configure a
WebhookConfig
in requests that support it and process incoming POST events on your webhook endpoint. • Supplement webhooks with external monitoring (Datadog/CloudWatch/Prometheus): export LiveKit metrics (or parse webhook events and dashboard exports) and create alerts on thresholds you care about (e.g., concurrent STT connections, inference credits spent, or total inference seconds). • If you self-host, you can use metrics such as
livekit_egress_available
with Prometheus and alerting rules to trigger notifications or autoscaling. 2) Key metric(s) to monitor on the LiveKit dashboard (Ship plan) • Primary: LiveKit Inference — STT concurrency (active STT connections). This determines whether new STT connections will be allowed or denied when limits are hit. • Primary: Inference credit consumption (USD/month). Ship plan includes monthly inference credits ($100 at $0.02/credit); monitor consumption to avoid overruns. • Secondary: Overall LiveKit Inference connection time (seconds) and error/failed-connection rates — useful to spot spikes or failed requests. Next step • Would you like me to walk you to the specific dashboard screens to monitor STT concurrency and inference credits, or help draft alert thresholds you should use (e.g., 80% concurrency, 90% credit usage)? Sources: Webhooks | LiveKit docs | Self-hosting the Egress Service | LiveKit docs | Quotas and limits | LiveKit docs | LiveKit Pricing | LiveKit Cloud billing | LiveKit docs