Set up AI providers
Configure an AI provider for the installation or a single company.
Select a provider
Section titled “Select a provider”Bucht offers OpenAI, Anthropic, Google Gemini, OpenRouter, Ollama, and OpenAI-compatible endpoints.
Installation and company settings
Section titled “Installation and company settings”Set the default in Administration or set a separate provider for a company.
Environment variables
Section titled “Environment variables”AI_PROVIDER and AI_MODEL take priority over BUCHT_AI_PROVIDER and BUCHT_AI_MODEL.
Credentials
Section titled “Credentials”Use OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, or OPENROUTER_API_KEY for the selected provider.
Local and compatible endpoints
Section titled “Local and compatible endpoints”Ollama needs OLLAMA_URL, and a compatible endpoint needs OPENAI_COMPATIBLE_URL and a model.
Private hosts and activation
Section titled “Private hosts and activation”AI_ALLOWED_PRIVATE_HOSTS permits named private hosts, and BUCHT_AI_ENABLED=true enables AI regardless of the saved switch.