Skip to content
bucht.app
EN
Star

Set up AI providers

Configure an AI provider for the installation or a single company.

Bucht offers OpenAI, Anthropic, Google Gemini, OpenRouter, Ollama, and OpenAI-compatible endpoints.

Set the default in Administration or set a separate provider for a company.

AI_PROVIDER and AI_MODEL take priority over BUCHT_AI_PROVIDER and BUCHT_AI_MODEL.

Use OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, or OPENROUTER_API_KEY for the selected provider.

Ollama needs OLLAMA_URL, and a compatible endpoint needs OPENAI_COMPATIBLE_URL and a model.

AI_ALLOWED_PRIVATE_HOSTS permits named private hosts, and BUCHT_AI_ENABLED=true enables AI regardless of the saved switch.