### 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) ](
) .