OpenRouter Integration

OpenRouter Integration Guide

Integrating OpenRouter with ConverseIQ is a straightforward process that enhances your chatbot’s capabilities without any additional costs from us. Here’s a step-by-step guide to get you started.

Understanding OpenRouter

OpenRouter offers both free and paid models, giving you the flexibility to choose what best suits your needs.

We don’t charge extra for using OpenRouter with our services. However, you will need your own API key, and any fees incurred will be managed directly by OpenRouter.

The performance of your AI responses depends entirely on OpenRouter and the models they host. We don’t use any extra plugins that might slow down or change the responses, ensuring you get fast and accurate interactions.

With OpenRouter, you can access multiple AI models using a single API key. To explore the available models, visit OpenRouter Models.


Creating Your OpenRouter Account

To get started, you’ll need an OpenRouter account. Creating one is free and easy:

  1. Go to OpenRouter’s website and sign up for an account.
  2. Once registered, navigate to the API Keys section.
  3. Generate your API key and copy it to your clipboard.

Connecting OpenRouter to ConverseIQ

Now, let’s connect OpenRouter to ConverseIQ:

  1. Access Integration Settings:

  2. Enter Your API Key:

    • Paste your copied API key into the designated field.
    • Save the integration settings to complete the connection.

Setting Up OpenRouter in Your Chat Flow

With OpenRouter connected, you can now integrate it into your chat flow to build a simple AI chatbot. Follow these steps:

  1. Initiate the Chat Flow:

    • Start with an entry point. For example, use the “New thread started” event, which triggers when a customer sends their first message.
  2. Add AI Integration:

    • Incorporate an AI integration and link the event trigger to the AI integration action.
  3. Configure AI Integration:

    • Double-click the AI integration action to edit its configuration.
    • You can enter a custom OpenRouter API key here, or leave it blank to use the one set in the integration settings.
  4. Set Bot Instructions:

    • In the “Bot instructions” section, define how the bot should behave and respond to customer inquiries. Different models may interpret these instructions uniquely, so tailor them to your needs. Refer to our Ai Prompt best practices for some guidance and inspiration AI Prompt Best Practices, additionally you can use our AI Prompt Generator and AI Prompt Optimiser for help Prompt Generator  |  Prompt Optimiser 
  5. Select the AI Model:

    • Fill in the “Model” field with your chosen model ID. Visit OpenRouter Models to see all available options.
    • For instance, you might use the free model “deepseek/deepseek-chat-v3-0324:free” Click the “Copy model id” button to copy it, then paste it into the AI Integration action settings in ConverseIQ. Make sure that you have the full path of the desired model you want to use.

Enhancing Chat Functionality

OpenRouter provides additional features to boost your chatbot’s functionality:

  • Web Search Capability:

    • The “Search web” option allows your AI model to perform internet searches using exa.ai. Note that not all models support this feature, and it is a paid service.
    • Since we don’t control the web search process, you can choose to enable or disable this option based on your preferences.
  • Custom Functions:

    • Functions let you execute custom actions or initiate specific subtrees when the AI model detects certain intents. This feature is available for specific models. Check OpenRouter Models to see which models support functions.

Finalising Your Integration

To ensure smooth operation without needing an extra “Message with reply” action, enable the “Loop” option. This allows the AI integration to handle messages continuously within the chat flow.


Testing Your Chatbot

Once you’ve set up the OpenRouter integration and configured your chat flow, save your settings and run a test. This helps you verify that everything is working correctly and that your chatbot responds as expected.


Benefits of Using OpenRouter with ConverseIQ

  • Cost-Effective: Utilise OpenRouter’s free models without additional charges from us.
  • Flexible Access: Use a single API key to access multiple AI models.
  • Reliable Performance: Depend on OpenRouter’s robust platform for fast and accurate AI responses.
  • Customisable: Tailor your chatbot’s behavior with clear instructions and custom functions.

Conclusion

Integrating OpenRouter with ConverseIQ empowers your SMB with innovative AI solutions that are both accessible and user-friendly. By following this guide, you can enhance your customer interactions with intelligent, responsive chatbots without the hassle of extra costs or technical complications. Start today and take your business communications to the next level with OpenRouter and ConverseIQ!

For more detailed information or assistance, visit OpenRouter’s official website.

Please note: 

ConverseIQ integrates with both OpenAI and OpenRouter to provide AI-powered conversational capabilities. However, it’s important to understand the current limitations and supported features around function calling within these integrations.

Function Calling with OpenRouter

While OpenRouter does follow much of the OpenAI schema, function calling in our current OpenRouter integration is not currently supported. We plan to investigate enhanced function capabilities in the future.


Was this article helpful?