OpenRouter Setup¶
OpenRouter provides access to models from multiple vendors. Capabilities depend on the routed model.
Create an API key¶
- Open OpenRouter Keys.
- Create a key and copy it securely.
Connect EspoCRM¶
- Open Administration > Integrations > AI » OpenRouter.
- Enable the integration.
- Enter the API key.
- Click Test & Fetch Models.
- Select a model and test again to verify generation.
- Save.
- Select OpenRouter under Administration > AI Settings > General when it should be the default provider.
Choose a tool-capable model for CRM-aware Chat. Confirm file inputs and structured output with the exact routed model before enabling them for users.
Troubleshooting¶
- Confirm the OpenRouter key and credit balance.
- Verify that the selected model is available to the account.
- Check whether the routed model supports tools and the requested file type.
- Review AI Log for the failed request.
