Tabnine offers both cloud and local hosting options. Both models are enabled by default, but you can opt-out of either model (or both) at any time.
For both models, your code and AI training data are only never shared nor used as part of Tabnine’s open-source trained AI.