AI Base is the connection layer between ERPNext and the AI providers you choose. Add a provider, paste your own API key, and any Frappe or ERPNext app, yours or ours, can call that model through one function, with the same logging and limits everywhere.
The point is control. Each provider has a hard monthly token cap that is checked before a call is sent, so a runaway script or a busy month can't produce a surprise bill. Every call is recorded with the user, model, feature, linked document, tokens, duration and result, so you can see exactly where AI is used and what it costs.
Keys are stored encrypted and stay with managers: AI users can use the providers but never see the keys. With ERPNext, providers and usage are kept per company. It also runs on a plain Frappe site without ERPNext. You pay the AI providers directly at their prices; AI Base adds no subscription and no commission on usage.