Glossary / API mechanics
Function calling
Function calling lets a model return a structured request to run one of your functions, with arguments, instead of prose. The runtime then executes it and returns the result to the model.
Definition
Function calling lets a model return a structured request to run one of your functions, with arguments, instead of prose. The runtime then executes it and returns the result to the model.
What it changes in your bill
Each round trip is a billed request that re-sends the growing conversation, so a five-step tool chain can bill five times the tokens of a single answer. Keep tool schemas short and history pruned.
How to check it yourself
Count requests per user task in your logs; if an agent averages more than four round trips, look for prompts that make it re-plan.
Related terms
Try it on Tapix AI
Tapix AI exposes 100+ models behind one OpenAI-compatible endpoint. Prepaid from $1, no monthly minimum, live prices per model.
Get a key and run one real call See live prices