deepgram-rate-limits

Featured

Implement Deepgram rate limiting and backoff strategies. Use when handling API quotas, implementing request throttling, or dealing with 429 rate limit errors. Trigger: "deepgram rate limit", "deepgram throttling", "429 error deepgram", "deepgram quota", "deepgram backoff", "deepgram concurrency".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Deepgram Rate Limits ## Overview Implement rate limiting, exponential backoff, and circuit breaker patterns for Deepgram API. Deepgram limits by **concurrent connections** (not requests per second). Understanding this model is key to building reliable integrations. ## Deepgram Rate Limit Model Deepgram uses **concurrency-based** limits, not traditional requests-per-minute: | Plan | Concurrent Requests (STT) | Concurrent Connections (Live) | Concurrent Requests (TTS) | |------|---------------------------|-------------------------------|---------------------------| | Pay As You Go | 100 | 100 | 100 | | Growth | 200 | 200 | 200 | | Enterprise | Custom | Custom | Custom | When you exceed your concurrency limit, Deepgram returns `429 Too Many Requests`. **Key insight:** You can send unlimited total requests — just not more than your concurrency limit *simultaneously*. ## Instructions ### Step 1: Concurrency-Aware Queue ```typescript import pLimit from 'p-limit'; import { createClient } from '@deepgram/sdk'; class DeepgramRateLimiter { private limit: ReturnType<typeof pLimit>; private client: ReturnType<typeof createClient>; private stats = { total: 0, active: 0, queued: 0, errors: 0 }; constructor(apiKey: string, maxConcurrent = 50) { // Stay well under plan limit (e.g., 50 of 100 allowed) this.limit = pLimit(maxConcurrent); this.client = createClient(apiKey); } async transcribe(source: { url: string }, options: Record<string, any>) { this...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category