Your OpenAI, Anthropic, or Gemini key. Your invoice. Your DPA.
On Enterprise, BeforeQuery calls the model on your provider account with your key. You keep the model choice, the usage bill, and the data-processing agreement you already have with OpenAI / Anthropic / Google. BeforeQuery is the platform layer; the LLM traffic runs on you.
How BYOK works
Per-workspace credentials, per-knowledge-base overrides — every customer-facing answer runs on the account you configured
Bring Your Provider Credential
- Configure a provider credential per workspace
- Optionally override per knowledge base — different KBs on different providers
- Credentials encrypted at rest with per-workspace envelope keys
- Rotate or revoke in the dashboard; no re-deploy required
- Fallback to the deployment provider when a credential is missing
Coverage Across the Answer Path
- Streaming widget and portal answers — on your credential
- Multi-knowledge-base answers — on your credential
- Slack / Discord / Teams bots (AnswerForBot) — on your credential
- Form deflector, including grounding verification — on your credential
- Reranking on the LLM grader fallback — on your credential
What Still Runs on Deployment Provider
- Internal diagnostic and eval tooling (deployment models, so scores are comparable across customers)
- Conversation title generation (small fixed-cost call)
- Image-to-text (DescribeImage) for chat attachments
- Query planning (SearchService's own provider today)
- Hosted cross-encoder rerankers (Cohere/Voyage/Jina — not LLM providers)
The two questions Enterprise buyers actually ask
'Whose account is charged for the tokens?' and 'Whose DPA covers the data?' — the two questions every enterprise procurement conversation lands on. BYOK answers both with 'yours'. Traffic runs on your OpenAI / Anthropic / Gemini account under the terms you already negotiated. BeforeQuery is the platform above the model, not the LLM vendor.
- Volume LLM contracts you already negotiated apply directly
- Model choice is yours — no vendor lock-in via the platform
- Data-processing terms are yours — no additional third-party review
- Rotate the credential without re-deploying anything
- Fallback to deployment provider keeps the workspace up if the credential fails
Deployed in production, cited by the buyers who chose it
“Deployed on our docs site in an afternoon. Every answer has citations, and the abstention gate means we've never had a customer complain about a made-up answer.”
“The knowledge base connected to our Slack, Confluence, and helpdesk in one setup. On-call teams get the same cited answer whether they ask in chat, in the widget, or from Cursor.”
“The gap analytics turned into a real docs backlog. Deflection went up because we finally knew which pages were missing — the AI told us.”
Frequently Asked Questions
Common questions about Bring Your Own Model (BYOK)
Run the platform, keep the LLM contract
Talk to us about Enterprise — BYOK, DPA, regional residency, and SSO all move together on Enterprise plans.
Get Started Free