Nodes/ComfyUI-ElevenLabs-Pro/ElevenLabs Pro - Cost Estimator
ComfyUI Node

ElevenLabs Pro - Cost Estimator

Know what a TTS call will cost before you click queue

By IxMxAMAR·Created 5 months ago·Updated about a month ago· 1
ElevenLabs Pro - Cost Estimator
    • characters
    • estimated_credits
    • summary
    text
    modeleleven_v3

    Every paid node in this pack quietly spends credits, and the first time you queue a ten-thousand-character narration you'll wish someone had told you what that costs. ElevenLabsPro_CostEstimator is that someone. It's a pure-Python node that estimates the credit cost of a TTS call before you make it - no API call, no key, no network. Just math on text length.

    The mechanism is honest about its limits. It counts the characters in your text, looks up a per-character credit rate for the model you chose (default eleven_v3), and multiplies. The rate table is baked into the node: the big multilingual and v3 models bill 1.0 credits per character, while the flash and turbo lines bill 0.5. Outputs are characters (the raw count), estimated_credits (a float), and summary - a human-readable string like "5234 chars × 1.00 = ~5234 credits (eleven_v3)" that's handy to log or show in a text display.

    Here's the take you need to hear: treat this as a planning tool, not an invoice. The README and the code both call the numbers "conservative upper-bound estimates," and real ElevenLabs billing has moved around between tiers and promo periods. So the node is perfect for the two questions that actually matter - "is this batch going to be cheap or terrifying?" and "which model am I burning credits on?" - and it's wrong for the third, "what will my statement say exactly?" It's also deliberately narrow: it only estimates TTS per-character cost. Music, SFX, STS, and STT bill on different bases entirely, so don't try to price a Music generation with this node.

    Inputs are just text (multiline) and model (the same eight-model list the TTS node uses). Because it's pure Python, it's instant, deterministic, and free to re-run as often as you like - which is exactly why it works as a workflow step: wire your narration text into it alongside your TTS node, and you get a running cost display for free every time you change the script.

    Install is the pack standard:

    cd ComfyUI/custom_nodes
    git clone https://github.com/IxMxAMAR/ComfyUI-ElevenLabs-Pro.git
    pip install -r ComfyUI-ElevenLabs-Pro/requirements.txt
    

    Restart ComfyUI, or install "ComfyUI-ElevenLabs-Pro" via ComfyUI Manager. Only requests and soundfile in requirements - this node needs neither.

    Worth pairing it with Account Info: the Cost Estimator tells you what a call will cost, and Account Info tells you what your plan's limit is. Run a few batches, watch the estimate against the actual character_count readings, and you'll build an intuition for your real per-character burn - which is the whole point of a tool like this in a graph that otherwise hides the money behind a wall of generated clips.

    CategoryElevenLabs Pro/Utils

    Inputs (2)

    NameTypeDefaultDescription
    textSTRING
    modelCOMBOeleven_v38 options: eleven_v3, eleven_multilingual_v2, eleven_flash_v2_5, eleven_turbo_v2_5, eleven_flash_v2, eleven_turbo_v2, +2

    Outputs (3)

    NameTypeDescription
    charactersINT
    estimated_creditsFLOAT
    summarySTRING