Open Router

Open Router

Open Router (opens in a new tab), accessible at openrouter.ai, is a relatively new service that provides users with access to various Large Language Models (LLMs) that are typically not readily available. This includes prominent models like GPT-4 32K, Google PaLM, Anthropic, and others. Open Router operates by allowing users to create an account and generate an API key, which then enables them to integrate these models into their applications or platforms.

The service offers some models for free, and users have the option to purchase credits for accessing premium models. This flexible approach makes Open Router an attractive option for individuals and organizations looking to leverage advanced AI capabilities without the constraints of sticking to a single provider or model.

How to use Open Router models in Joy AI

Create an Account

  • Visit the Website: Go to OpenRouter.ai (opens in a new tab)
  • Sign Up: Look for a sign-up or registration option on the website. This typically involves entering your email address and creating a password.
  • Verify Email: After registering, you'll likely receive an email to verify your account. Click the link in the email to complete your registration.

Create an API Key

  • Log In: Once your account is verified, log in to OpenRouter.ai.
  • Navigate to Keys Section (opens in a new tab) under Account -> Keys
  • Generate API Key: In the API section, hit Create Key to create new API Key

Note Down Your API Key: Once generated, make sure to copy and securely store your API key. It's crucial for accessing the OpenRouter services in your applications.

Use Your API Key

You can now use this API key in your applications to access the various LLM models offered by OpenRouter.

  • In Joy, go to Settings -> Advanced -> AI
  • Select Open Router
  • Enter your API Key and a model of your choice