| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
AI (ai_app)
• Discuss (mail) |
| Lines of code | 475 |
| Technical Name |
openrouter_ai_provider |
| License | OPL-1 |
| Website | https://github.com/iDoust |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
AI (ai_app)
• Discuss (mail) |
| Lines of code | 475 |
| Technical Name |
openrouter_ai_provider |
| License | OPL-1 |
| Website | https://github.com/iDoust |
OpenRouter AI Provider
Use OpenRouter models inside Odoo 19 Enterprise AI Agents
Add OpenRouter as a native provider for the Odoo AI app and access GPT, Claude, Gemini, Llama, Mistral, DeepSeek, and other OpenRouter-compatible chat models through one configuration screen.
Native AI Agent Provider
OpenRouter models appear in the standard AI Agent model selector after setup.
Model Discovery
Fetch available OpenRouter model identifiers and add custom display labels.
Connection Test
Verify the OpenRouter API key before assigning models to production agents.
What This Module Does
- Registers OpenRouter as an Odoo AI provider.
- Stores the OpenRouter API key in Odoo settings or reads it from an environment variable.
- Supports OpenAI-compatible chat completions through OpenRouter.
- Supports Odoo AI Agent tool/function calling for compatible models.
- Provides clear user errors for unsupported file, structured output, or web-grounding requests.
- Falls back to a configured embedding provider for Knowledge Sources.
Requirements
- Odoo 19 Enterprise.
- The native AI app dependency:
ai_app. - An OpenRouter account and API key.
- A Google Gemini or OpenAI key if AI Agents use Knowledge Sources.
OpenRouter in Odoo AI Settings
Enable OpenRouter from the standard Odoo AI provider settings.
Bring Your Own Key and Models
Use your OpenRouter API key, test the connection, and manage available model IDs.
Choose OpenRouter Models in AI Agents
Once saved, OpenRouter model identifiers become selectable in the AI Agent form.
Setup
- Install the module in your Odoo 19 Enterprise database.
- Go to Settings > AI and enable OpenRouter.
- Enter your OpenRouter API key or set
ODOO_AI_OPENROUTER_TOKENon the server. - Click Test Connection to confirm API access.
- Click Fetch Available Models, review the model list, and save.
- Open an AI Agent and choose one of the OpenRouter models.
External Service and Data Notice
This module sends AI prompts, conversation context, and selected tool-call payloads to OpenRouter when an OpenRouter model is used. OpenRouter may route the request to the upstream model provider selected in the AI Agent. Customers should review their own OpenRouter account, provider selection, and data policies before using the module with sensitive business information.
Support
Paid purchases include bug-fix support for the module. Before publishing, replace the support email in the manifest with your real support address.
OpenRouter AI Provider
OpenRouter AI Provider adds OpenRouter as an additional provider for the native Odoo 19 Enterprise AI app.
Requirements
- Odoo 19 Enterprise.
- The native ai_app module.
- An OpenRouter API key.
Configuration
- Install the module.
- Open Settings > AI.
- Enable OpenRouter and enter an API key.
- Click Test Connection.
- Click Fetch Available Models, save, then select an OpenRouter model on an AI Agent.
External Service Disclosure
This module sends AI prompts, conversation context, and selected tool-call payloads to OpenRouter. OpenRouter may route requests to the upstream model provider selected in the AI Agent.
Knowledge Sources
OpenRouter does not provide a standard embedding model through this module. If an AI Agent uses Knowledge Sources, the module falls back to a configured embedding provider such as Google Gemini or OpenAI.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module