Agent skill

Elevenlabs Rate Limits

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Implement ElevenLabs rate limiting, concurrency queuing, and backoff patterns.

MITAuto-check passedBackend & APIs

Install Elevenlabs Rate Limits

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill elevenlabs-rate-limits -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace elevenlabs-rate-limits --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/elevenlabs-rate-limits .claude/skills/elevenlabs-rate-limits && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
elevenlabs-rate-limits
GitHub stars
2.8k
Token cost
~1.7k tokens
SKILL.md length
524 words
Files
3 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Implement ElevenLabs rate limiting, concurrency queuing, and backoff patterns.

  • Works in 4 steps: Understand the Two 429 Error Types → Know Your Plan Concurrency Limits → Assemble the Four Building Blocks → …
  • Handling 429 errors
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 4 more sections
  • Calls npm

What it does

Elevenlabs Rate Limits is an agent skill from jeremylongshore/tons-of-skills-marketplace. Implement ElevenLabs rate limiting, concurrency queuing, and backoff patterns. Use when handling 429 errors, implementing retry logic, or managing concurrent TTS request throughput for an ElevenLabs integration. Trigger with "elevenlabs rate limit", "elevenlabs throttling", "elevenlabs 429", "elevenlabs retry", "elevenlabs backoff", "elevenlabs concurrent requests".

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/examples.md` and `references/implementation.md`). Compatibility notes: Designed for Claude Code

It sits in Backend & APIs, covering Rate limiting and Text to speech and voice. It works with ElevenLabs. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Handling 429 errors
  • Implementing retry logic
  • Managing concurrent TTS request throughput for an ElevenLabs integration
  • With elevenlabs rate limit

Example prompts

  • “elevenlabs rate limit”
  • “elevenlabs throttling”
  • “elevenlabs 429”
  • “/elevenlabs-rate-limits”

Requirements

  • Node.js
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Understand the Two 429 Error Types
  2. Know Your Plan Concurrency Limits
  3. Assemble the Four Building Blocks
  4. Mind Model Cost When Managing Quota

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • help.elevenlabs.io
    • elevenlabs.io
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Elevenlabs Rate Limits loads about 1.7k tokens when it runs, and up to ~3.9k if it reads all its reference files. Until then it costs about 98 tokens; SKILL.md has 524 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~98
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 524 words, ~1,678 tokens.

Download SKILL.mdSave it as .claude/skills/elevenlabs-rate-limits/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
elevenlabs-rate-limits
description
Implement ElevenLabs rate limiting, concurrency queuing, and backoff patterns. Use when handling 429 errors, implementing retry logic, or managing concurrent TTS request throughput for an ElevenLabs integration. Trigger with "elevenlabs rate limit", "elevenlabs throttling", "elevenlabs 429", "elevenlabs retry", "elevenlabs backoff", "elevenlabs concurrent requests".
allowed-tools
Read, Write, Edit
compatibility
Designed for Claude Code
version
1.6.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, voice, ai, elevenlabs, rate-limits, reliability

ElevenLabs Rate Limits

Overview

Handle ElevenLabs rate limits with plan-aware concurrency queuing, exponential backoff, and quota monitoring. ElevenLabs uses two rate limit mechanisms: concurrent request limits (per plan) and system-level throttling. The key insight is that a 429 means two different things depending on its detail.status — and each demands the opposite response.

Prerequisites

  • ElevenLabs SDK installed (@elevenlabs/elevenlabs-js)
  • Understanding of your subscription plan's limits
  • p-queue package (recommended): npm install p-queue

Instructions

Step 1: Understand the Two 429 Error Types

ElevenLabs returns HTTP 429 for two different reasons. Read the detail.status field to tell them apart — the correct strategy is opposite for each.

429 VariantResponse BodyCauseStrategy
too_many_concurrent_requests{"detail":{"status":"too_many_concurrent_requests"}}Exceeded plan concurrencyQueue requests, don't backoff
system_busy{"detail":{"status":"system_busy"}}Server overloadExponential backoff
Step 2: Know Your Plan Concurrency Limits

Concurrency is capped per plan. Size your queue to this number — never higher.

PlanMax Concurrent RequestsCharacters/Month
Free210,000
Starter330,000
Creator5100,000
Pro10500,000
Scale152,000,000
Business15Custom
Step 3: Assemble the Four Building Blocks

Write four small modules and compose them. The full, copy-ready source for each is in references/implementation.md — the skeleton below shows how they fit together.

  1. Request queue (rate-limiter.ts) — a p-queue sized to your plan's concurrency limit. This is the response to too_many_concurrent_requests: queue, do not back off.
  2. Backoff wrapper (backoff.ts) — exponential backoff with jitter for system_busy and 5xx; immediate short retry for concurrency; hard-fail on 401/400/404.
  3. Quota monitor (quota-monitor.ts) — polls user.subscription character usage, warns at a threshold, and blocks a request that would overrun remaining quota.
  4. Resilient client (resilient-client.ts) — composes all three so one generateSpeech() call guards quota, queues, and backs off automatically:
typescript
// src/elevenlabs/resilient-client.ts (skeleton — full source in references/implementation.md)
export function createResilientClient(plan = "pro") {
  const client = new ElevenLabsClient({ maxRetries: 0 }); // we handle retries
  const queue = createRequestQueue(plan);                 // Step 3.1
  const quota = new QuotaMonitor(client);                 // Step 3.3

  return {
    async generateSpeech(voiceId, text, modelId = "eleven_multilingual_v2") {
      await quota.guardRequest(text.length);              // Step 3.3
      return queue.add(() =>                              // Step 3.1
        withBackoff(() =>                                 // Step 3.2
          client.textToSpeech.convert(voiceId, { text, model_id: modelId })
        )
      );
    },
  };
}
Step 4: Mind Model Cost When Managing Quota

Quota is spent in credits-per-character, which varies by model. Use Flash/Turbo models during development to conserve quota.

ModelCredits per Character10,000 Chars Cost
eleven_v31.010,000 credits
eleven_multilingual_v21.010,000 credits
eleven_flash_v2_50.55,000 credits
eleven_turbo_v2_50.55,000 credits
Show full SKILL.md (198 more words)Show less

Output

Applying this skill produces four TypeScript modules under src/elevenlabs/ and a rate-limited request path:

  • rate-limiter.ts — exports createRequestQueue(plan) returning a plan-sized PQueue.
  • backoff.ts — exports withBackoff(operation, config) returning the operation's result or throwing after maxRetries.
  • quota-monitor.ts — exports a QuotaMonitor class with check() → { used, limit, remaining, pctUsed, warning } and guardRequest(textLength).
  • resilient-client.ts — exports createResilientClient(plan) whose generateSpeech() returns TTS audio, plus getQueueStats() and checkQuota().

At runtime: concurrent requests stay at or below the plan cap, system_busy responses are retried with backoff, and requests that would overrun quota fail fast with a clear error instead of a wasted API call.

Error Handling

ScenarioDetectionResponse
Concurrent limit hit429 + too_many_concurrent_requestsQueue; retry after ~50ms per queued request
System busy429 + system_busyExponential backoff (1s, 2s, 4s, 8s...)
Quota exhausted401 + quota_exceededStop requests; alert; wait for reset
Server error500-599Exponential backoff; max 5 retries

Examples

Concise starting point — batch generation with just the queue:

typescript
import { createRequestQueue } from "./elevenlabs/rate-limiter";

const queue = createRequestQueue("pro"); // 10 concurrent
const clips = await Promise.all(
  texts.map(text =>
    queue.add(() => client.textToSpeech.convert(voiceId, { text, model_id: "eleven_flash_v2_5" }))
  )
); // 20 requests, at most 10 in flight

For the full resilient-client example, per-429-variant branching at the call site, and the batch pattern in context, see references/examples.md.

Resources

Next Steps

For security configuration, see elevenlabs-security-basics.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/.curated/elevenlabs-rate-limits of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/examples.md
  • references/implementation.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Elevenlabs Rate Limits next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Elevenlabs Rate Limits compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Elevenlabs Rate Limits this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.7kAutomated safety check: PassMIT
Quota Axikunchenguid/quota-axi147—~547Automated safety check: PassMIT
AI SDK Developmenttrypostit/trypost6921 repos~3.5kAutomated safety check: PassMIT
Integrate Whatsapp Callinggokapso/agent-skills177—~2.1kAutomated safety check: PassNone
Speech Engineelevenlabs/skills482—~2.5kAutomated safety check: WarnMIT
Agentselevenlabs/skills482—~6.5kAutomated safety check: PassMIT

Similar skills

  • Quota Axi

    kunchenguid/quota-axi

    Report local Claude, Codex, Cursor, GitHub Copilot, Grok, Kimi, Z.AI, Alibaba, OpenCode Go, Antigravity, Command Code, MiniMax, MiMo, DeepSeek, OpenRouter, ElevenLabs, Devin, Muse, and Higgsfield…

    147 GitHub stars~547 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • AI SDK Development

    trypostit/trypost

    TRIGGER when working with ai-sdk which is Laravel official first-party AI SDK.

    692 GitHub starsUsed in 1 repo~3.5k tokens
    AI & LLM EngineeringAuto-check passed
  • Integrate Whatsapp Calling

    gokapso/agent-skills

    Connect voice agents to WhatsApp Calling through Kapso. An agent skill from gokapso/agent-skills.

    177 GitHub stars~2.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Speech Engine

    elevenlabs/skills

    Add real-time voice conversations to a custom agent runtime with ElevenLabs Speech Engine.

    482 GitHub stars~2.5k tokensUpdated 2 days ago
    Media & CreativeAuto-check: warnings
  • Agents

    elevenlabs/skills

    Build voice AI agents with ElevenLabs. An agent skill from elevenlabs/skills.

    482 GitHub stars~6.5k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Setup API Key

    elevenlabs/skills

    Guides users through setting up an ElevenLabs API key for REST API and SDK workflows.

    482 GitHub stars~954 tokensUpdated 2 days ago
    Media & CreativeAuto-check: notes

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Questions about Elevenlabs Rate Limits

What does Elevenlabs Rate Limits do?

Implement ElevenLabs rate limiting, concurrency queuing, and backoff patterns. Elevenlabs Rate Limits is an agent skill from jeremylongshore/tons-of-skills-marketplace. Implement ElevenLabs rate limiting, concurrency queuing, and backoff patterns.

When should I use Elevenlabs Rate Limits?

Elevenlabs Rate Limits fits situations like: handling 429 errors; implementing retry logic; managing concurrent TTS request throughput for an ElevenLabs integration; with elevenlabs rate limit.

How do I install Elevenlabs Rate Limits in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill elevenlabs-rate-limits -a claude-code`. Or copy the skill folder (skills/.curated/elevenlabs-rate-limits in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/elevenlabs-rate-limits in your project. Claude Code loads it when a task matches its description.

How do I install Elevenlabs Rate Limits in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill elevenlabs-rate-limits -a codex`. Or copy the skill folder (skills/.curated/elevenlabs-rate-limits in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/elevenlabs-rate-limits in your project. Codex loads it when a task matches its description.

Can I use Elevenlabs Rate Limits in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill elevenlabs-rate-limits -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/elevenlabs-rate-limits, .gemini/skills/elevenlabs-rate-limits, .github/skills/elevenlabs-rate-limits and .opencode/skills/elevenlabs-rate-limits in your project.

What does Elevenlabs Rate Limits need to run?

Going by SKILL.md and its folder, Elevenlabs Rate Limits needs the command-line tools its instructions call (npm). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Write, Edit. Compatibility (from SKILL.md): Designed for Claude Code.

Does Elevenlabs Rate Limits access the network?

SKILL.md names 3 domains. As links in the text: help.elevenlabs.io, elevenlabs.io and github.com. This is read from the text; nothing was executed.

Is Elevenlabs Rate Limits safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Elevenlabs Rate Limits use?

Elevenlabs Rate Limits is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Elevenlabs Rate Limits use?

About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.

What are the alternatives to Elevenlabs Rate Limits?

Skills that share tags, products or a category with Elevenlabs Rate Limits: Quota Axi (kunchenguid/quota-axi, 147 stars), AI SDK Development (trypostit/trypost, 692 stars), Integrate Whatsapp Calling (gokapso/agent-skills, 177 stars) and Speech Engine (elevenlabs/skills, 482 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Elevenlabs Rate Limits?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.