LibreChat
LibreChat is a modern, open-source chat client that supports multiple AI providers. By adding DeepIntShield as a custom provider, you get access to any model configured in DeepIntShield through a familiar chat interface, plus governance features like virtual keys and built-in observability.
1. Install LibreChat
Section titled “1. Install LibreChat”Follow the LibreChat documentation for local setup. There are multiple installation options (Docker, npm, etc.).
2. Add DeepIntShield as a Custom Provider
Section titled “2. Add DeepIntShield as a Custom Provider”Add the following to your librechat.yaml file:
custom: - name: "DeepIntShield" apiKey: "dummy" baseURL: "http://localhost:8080/v1" models: default: ["openai/gpt-4o"] fetch: true titleConvo: true titleModel: "openai/gpt-4o" summarize: false summaryModel: "openai/gpt-4o" forcePrompt: false modelDisplayLabel: "DeepIntShield" iconURL: https://getbifrost.ai/deepintshield-logo.png| Field | Description |
|---|---|
apiKey | DeepIntShield virtual key if authentication is enabled; use dummy otherwise |
baseURL | DeepIntShield gateway URL + /v1 (LibreChat uses OpenAI format) |
models.default | Default models to show. Use DeepIntShield model IDs (provider/model) |
models.fetch | Set true to fetch available models from DeepIntShield |
titleConvo | Use AI for conversation title generation |
titleModel | Model for title generation |
summarize | Enable chat summary generation |
summaryModel | Model for summaries |
3. Docker Networking
Section titled “3. Docker Networking”Choose the correct baseURL for your setup:
| Setup | baseURL |
|---|---|
| LibreChat and DeepIntShield on same host | http://localhost:8080/v1 |
| LibreChat in Docker Desktop, DeepIntShield on host | http://host.docker.internal:8080/v1 |
| LibreChat in Docker Engine (Linux), DeepIntShield on host | Add --add-host=host.docker.internal:host-gateway to docker run, or extra_hosts: ["host.docker.internal:host-gateway"] in Compose, then use http://host.docker.internal:8080/v1 |
| Both in same Docker network | http://deepintshield-container-name:8080/v1 |
4. Run LibreChat
Section titled “4. Run LibreChat”Start LibreChat. DeepIntShield will appear as a provider with all configured models available.
Virtual Keys
Section titled “Virtual Keys”When DeepIntShield has virtual key authentication enabled, set apiKey to your virtual key:
apiKey: "bf-your-virtual-key-here"This lets you enforce usage limits, budgets, and access control per user or team. For team deployments, create a separate virtual key for each team or environment — each key can have its own rate limits, budgets, and provider access rules configured in the DeepIntShield dashboard.
Model Selection
Section titled “Model Selection”LibreChat displays models from the models.default list or fetches them from DeepIntShield when models.fetch is enabled. Use DeepIntShield model IDs in provider/model format to access any configured provider:
models: default: - "openai/gpt-5" - "anthropic/claude-sonnet-4-5-20250929" - "gemini/gemini-2.5-pro" - "groq/llama-3.3-70b-versatile" fetch: true- Use powerful models like
openai/gpt-5oranthropic/claude-sonnet-4-5-20250929for complex conversations - Use fast models like
groq/llama-3.3-70b-versatilefor quick responses - Set
titleModelandsummaryModelto lighter models to reduce cost for metadata generation
Using Multiple Providers
Section titled “Using Multiple Providers”DeepIntShield routes requests to the correct provider based on the model name. Use the provider/model-name format to access any configured provider through the single /v1 endpoint:
anthropic/claude-sonnet-4-5-20250929openai/gpt-5gemini/gemini-2.5-promistral/mistral-large-latestSupported Providers
Section titled “Supported Providers”DeepIntShield supports the following providers with the provider/model-name format:
openai, azure, gemini, vertex, bedrock, mistral, groq, cerebras, cohere, perplexity, xai, ollama, openrouter, huggingface, nebius, parasail, replicate, vllm, sgl
Observability
Section titled “Observability”All LibreChat traffic through DeepIntShield is logged. Monitor it at http://localhost:8080/logs — filter by provider, model, or search through conversation content to track usage across your team.
Next Steps
Section titled “Next Steps”- Provider Configuration — Configure AI providers in DeepIntShield
- Virtual Keys — Set up usage limits and access control