Multi-LLM connections
Multi-LLM connections let you configure LLM provider keys and set them for use in prompt templates.
In this guide:
- Add a provider key
- Test the connection
- Use models in prompt templates
Step 1: Add a provider key
Open Prompt Manager → Models to add and configure LLM provider keys.
ℹ️
Visit the direct URL
/prompts-manager?tab=models to access LLM provider configuration. Prompt Manager is currently not linked in the sidebar; you can also find it via direct URL.Supported providers:
- OpenAI — paste your
sk-...API key. - OpenRouter — paste your OpenRouter API key.
Click Save to store the key for use in templates.
Step 2: Test the connection
Click Test Connection in the provider form. Hilal validates the key against the provider and reports success or failure.
Verify the connection works before using the model in templates.
Step 3: Use models in prompt templates
Once a provider is connected, you can select its models when creating or editing prompt templates in Prompt Manager → Templates. When you execute a template, the selected model is used for that prompt.
⚠️
Per-surface model defaults, automatic fallback behavior, and cost management features are not yet implemented. Model selection is currently supported at the template level only.
Troubleshooting
- Test Connection fails with 401 / unauthorized. Key is wrong or revoked. Regenerate at the provider and re-paste.
- Test Connection fails with rate limit. The provider rate-limited the test. Wait a minute and try again.