assemblyai-rate-limits

Featured

Implement AssemblyAI rate limiting, backoff, and queue-based throttling. Use when handling rate limit errors, implementing retry logic, or managing concurrent transcription throughput. Trigger with phrases like "assemblyai rate limit", "assemblyai throttling", "assemblyai 429", "assemblyai retry", "assemblyai backoff".

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

# AssemblyAI Rate Limits ## Overview Handle AssemblyAI rate limits with exponential backoff, queue-based throttling, and concurrency management. AssemblyAI auto-scales limits for paid users. ## Prerequisites - `assemblyai` package installed - Understanding of async/await patterns ## Rate Limit Tiers (Actual) ### Async Transcription API | Endpoint | Free | Pay-as-you-go | |----------|------|---------------| | `POST /v2/transcript` | 5/min | Scales with usage | | `GET /v2/transcript/:id` | No hard limit | No hard limit | | `POST /v2/upload` | 5/min | Scales with usage | ### Streaming (WebSocket) | Metric | Free | Pay-as-you-go | |--------|------|---------------| | New streams/min | 5 | 100 (auto-scales) | | Concurrent streams | ~5 | Unlimited (auto-scales 10% every 60s at 70% usage) | ### LeMUR | Metric | Free | Paid | |--------|------|------| | Requests/min | Limited | Scales with usage | | Max audio input | 100 hours per request | 100 hours per request | **Note:** AssemblyAI auto-scales paid limits. At 70%+ utilization, the new session rate limit increases by 10% every 60 seconds with no ceiling cap. ## Instructions ### Step 1: Exponential Backoff with Jitter ```typescript import { AssemblyAI, type Transcript } from 'assemblyai'; const client = new AssemblyAI({ apiKey: process.env.ASSEMBLYAI_API_KEY!, }); async function transcribeWithBackoff( audioUrl: string, options: Record<string, any> = {}, config = { maxRetries: 5, baseDelayMs: 1000, maxDelayMs: 30000...

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