https://retellai.com/?utm_source=discord&utm_medium=seo logo
What does 3500 Tokens mean
# ❓・ai-evy-support
a
@AI Evy What does 3500 Tokens mean? How do I let LLM know that the prompt should be using less than 3500TOkens? I need to know specifically
a
Thanks for tagging me @anthonylovatt_26757. I'll look through relevant sources and get back to you shortly.
### Answer The 3,500 token threshold is a billing benchmark in Retell AI's pricing structure [(1) ]() . When your LLM prompt exceeds 3,500 tokens, you'll incur additional charges through proportional scaling . What counts toward the token calculation: - Global prompt - Functions (tool descriptions) - State / node prompt - Transcript between agent and user - Tool call history and results How the pricing works: - Scaling Factor = Prompt LLM Tokens ÷ 3,500 - Billed Duration = Original Duration × Scaling Factor (rounded up) For example, if your call duration is 60 seconds and you use 4,200 LLM tokens, the scaling factor would be 4,200 ÷ 3,500 = 1.2, resulting in a billed duration of 72 seconds (12 seconds additional charge) . To keep your prompts under 3,500 tokens: - Shorten your global prompt text - Reduce the number or complexity of function descriptions - Use fewer state/node prompts - Minimize lengthy conversation history The current LLM prompt token limit is set to 32,768 tokens [(2) ]() , but staying under 3,500 tokens helps avoid the scaling surcharge [(1) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Exceptions to Our Per-Minute Pricing](https://docs.retellai.com/accounts/billing-exceptions) [[2] Chat Widget, Custom Function Enhancement and more!](https://www.retellai.com/changelog/chat-widget-custom-function-enhancement-and-more) ​
a
@AI Evy tell me how do I describe it to chagpt that it should generate me a prompt smaller than 3500 Tokens for Retell ai measures
a
Thanks for the follow-up, @anthonylovatt_26757. I'll get back to you soon.
### Answer --- To describe to ChatGPT how to generate a prompt under 3,500 tokens for Retell AI, you can explain it like this: "Please generate a prompt that stays under 3,500 tokens total when measured by Retell AI's token calculation method. In Retell AI, the token count includes: global prompt, functions (tool descriptions) , state/node prompt, transcript between agent and user, and tool call history and results." [(1) ]() You should also specify: - **Target word count**: Aim for approximately 2,500-2,800 words maximum, as this typically translates to under 3,500 tokens - **Be concise**: Focus on essential instructions only - **Minimize examples**: Use fewer detailed examples in the prompt - **Streamline function descriptions**: Keep tool descriptions brief and focused The reason this matters is that Retell AI applies a scaling factor when prompts exceed 3,500 tokens . The scaling factor is calculated as: Prompt LLM Tokens ÷ 3,500, and your billed duration becomes Original Duration × Scaling Factor (rounded up) . For context, Retell AI's current LLM prompt token limit is set to 32,768 tokens [(2) ]() , but staying under 3,500 tokens helps you avoid the additional billing charges [(1) ]() .
​ To learn more, see the sources I considered: [[1] Exceptions to Our Per-Minute Pricing](https://docs.retellai.com/accounts/billing-exceptions) [[2] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.