This is a self-hosting and enterprise feature. If the deployment has no encryption key configured, the endpoints return 501 — every workspace simply keeps answering on the deployment’s keys, exactly as before. It isn’t broken; the feature is unavailable.
Set a provider
Reading the settings back returns
has_api_key — a boolean — never the key itself.
Test before you save
api_key to test the credential already stored, rather than re-sending it.
Clear it
Which model answers a question
Resolution runs in this order:- The knowledge base’s own
llm_provider/llm_model, if set - The workspace’s
llm_settings - The deployment’s configuration
A question spanning several knowledge bases ignores the per-knowledge-base override, because there’s no principled way to pick between two configured models. It uses the workspace setting.
What routes through your account
Routed: streaming chat, multi-knowledge-base chat, the Slack / Discord / Teams bots, and form deflection including its verification pass. Not routed: query planning and LLM reranking, which retrieval owns separately. If your deployment reranks with the chat model rather than a hosted cross-encoder, that stage — the most expensive one per query — is still billed to the deployment rather than to you.Private and self-hosted endpoints
base_url accepts any OpenAI-compatible endpoint, which covers Azure OpenAI, OpenRouter, vLLM, and Ollama.
Models offered in the dashboard
The dashboard lists these per provider.base_url lets you name any other model your endpoint serves.