---
title: "OpenRouter LLM"
description: "OpenRouter is a model provider popular for hosting open-source LLM models with zero infra all in one simple place"
---

import { Callout } from "nextra/components";
import Image from "next/image";

<Image
  src="/images/anythingllm-setup/llm-configuration/cloud/openrouter/header-image.png"
  height={1080}
  width={1920}
  quality={100}
  alt="OpenRouter LLM"
/>

# OpenRouter LLM

[OpenRouter](https://openrouter.ai) is a model provider popular for hosting open-source LLM models with zero infra all in one simple place.

The minute a new model is live - it will appear on OpenRouter first.

## Connecting to OpenRouter

<Callout type="info" emoji="️💡">
  **Valid API Key required!**

    You must obtain a valid API key from [openrouter.ai](https://openrouter.ai/) for this integration to work.

</Callout>

Like other LLM providers, the Chat Model Selection dropdown will automatically populate when your API key is entered.

All OpenRouter models are currently available for use with AnythingLLM.

You can update your model to a different model at any time in the **Settings**.

<Image
  src="/images/anythingllm-setup/llm-configuration/cloud/OpenRouter/OpenRouter-llm.png"
  height={1080}
  width={1920}
  quality={100}
  alt="OpenRouter LLM settings"
/>
