If your Allowed Headers are already set to
*, you can skip this note. If not and you face issues integrating Vikat with LibreChat, try switching to * or adding the specific headers required by your client. By default, Vikat whitelists: Content-Type, Authorization, X-Requested-With, X-Stainless-Timeout, and X-Api-Key.Setup
1. Install LibreChat
Follow the LibreChat documentation for local setup. There are multiple installation options (Docker, npm, etc.).2. Add Vikat as a Custom Provider
Add the following to yourlibrechat.yaml file:
If you’re running LibreChat in Docker, it does not automatically use
librechat.yaml. See Step 1 of the LibreChat custom endpoints guide for how to mount or override the config.3. Docker Networking
Choose the correctbaseURL for your setup:
4. Run LibreChat
Start LibreChat. Vikat will appear as a provider with all configured models available.Virtual Keys
When Vikat has virtual key authentication enabled, setapiKey to your virtual key:
Model Selection
LibreChat displays models from themodels.default list or fetches them from Vikat when models.fetch is enabled. Use Vikat model IDs in provider/model format to access any configured provider:
- 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
Vikat routes requests to the correct provider based on the model name. Use theprovider/model-name format to access any configured provider through the single /v1 endpoint:
Supported Providers
Vikat supports the following providers with theprovider/model-name format:
openai, azure, gemini, vertex, bedrock, mistral, groq, cerebras, deepseek, cohere, perplexity, xai, ollama, openrouter, huggingface, nebius, parasail, replicate, vllm, sgl
LibreChat connects to Vikat via a single OpenAI-compatible endpoint. Vikat handles routing to the correct provider based on the model name - no per-provider configuration needed in LibreChat.
Observability
All LibreChat traffic through Vikat is logged. Monitor it athttp://localhost:8080/logs - filter by provider, model, or search through conversation content to track usage across your team.
Next Steps
- Provider Configuration - Configure AI providers in Vikat
- Virtual Keys - Set up usage limits and access control

