# LocalAI Bitcoin reference LocalAI exposes an OpenAI-compatible interface, but function calling behavior depends on the selected backend and model configuration. Configure a model with function calling support; do not assume every backend implements the same tool parser. Python 3; set LOCAL_MODEL and BTC_KEY privately. Run `python3 example.py` only after reviewing the local configuration. Fixed Testnet balance only. No live tests. Upstream: https://localai.io/features/openai-functions/