
Function Calling Basics
In this guide we build a working example end to end. You can follow along with any language that supports HTTP calls to an OpenAI-compatible endpoint.

Hands-on example 🛠️
The example below is small but production-shaped: error handling, retries and a clean result. Adapt it to your own stack.
Quick reference
| Item | Details | Tip |
|---|---|---|
| Setup | Two-minute setup from the panel | Do this first |
| Usage | Token-based billing | Watch the logs |
| Support | Email + forum | We reply fast |
Common questions
Here are the questions people ask most often about this topic.
Frequently asked questions ❓
How long does function calling take?
It depends on your setup, but most people finish in well under ten minutes with the steps above.
Do I need any special tools?
No. Anything that can make an HTTPS call works: curl, Python, Node.js or your favorite HTTP client.
Does this cost extra credits?
No more than a normal request. The techniques here are designed to keep your spend predictable.
Where can I get more help?
Check the forum or email support and we will point you in the right direction.
Great timing, I was about to ask this.
Thanks, this saved me a lot of time.
Thank you, the screenshots helped.
Thanks for reading! Glad it helped.
Exactly what I needed today.