https://retellai.com/?utm_source=discord&utm_medium=seo logo
Token Surcharge when prompt tokens is under 3500
# ❓・bug-report
d
For most of the agents i am using, they all have the same prompt and is calculated to be 3400 total tokens, in each call i am getting surcharge, why is that? https://cdn.discordapp.com/attachments/1442646663335510179/1442646664233095269/Screenshot_2025-11-24_at_5.41.52_PM.png?ex=69428927&is=694137a7&hm=8798360fd6563f3f5992fc6a0d041642a12b9e7a1bc64664d45ebc36e37f2ba1&
o
Hello @davidenicorescu , can you share the agent id
d
agent_eb112dc8347c63217e0a57b5b0
p
is it ok to have a 3400 tokens prompt ? I was told 2k was the max you should have
d
Hello?
o
Hello @davidenicorescu , the prompt is estimated at 3400 tokens , but their other stuff is taken into account like : transcript between agent and user tool call history and results , that's why your tokens exceeded 3500.
d
Okay in that case is there a way or how can I calculate everything to know how many tokens it will take?