You could just use a free AI model's API and connect it through flask as a backend so no one can see your API key. Try Cohere. If you want your AI model locally installed which means users of your website would directly interact with your server, try llama.