https://retellai.com/?utm_source=discord&utm_medium=seo logo
how "LLM Token Surcharge" is calculated in the pri...
# ❓・ai-evy-support
q
@AI Evy how "LLM Token Surcharge" is calculated in the price?
a
Thanks for tagging me @q40478. I'll look through relevant sources and get back to you shortly.
### Answer The LLM Token Surcharge is calculated when your agent uses more than 3,500 LLM tokens in their prompts [(1) ]() . Calculation Formula: - Scaling Factor = Prompt LLM Tokens ÷ 3,500 - Billed Duration = Original Duration × Scaling Factor (rounded up) What's included in token calculation: - global prompt - functions (tool descriptions) - state / node prompt - transcript between agent and user - tool call history and results Example: - Call duration: 60 seconds - LLM tokens used: 4,200 - Scaling factor: 4,200 ÷ 3,500 = 1.2 - Billed duration: 72 seconds (12 seconds additional charge) For pricing with OpenAI GPT-4.1 as an example: [(2) ]() - Base rate: $0.07/min - For a 4,500 token prompt: 0.07 + (4500 / 3500 × 0.045) = $0.1279 per minute Prompts up to 3,500 tokens follow the existing flat rate without surcharge [(1) ]() [(2) ]() .
​ 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.