RelationshipDot

How to Connect SillyTavern to OpenRouter for Uncensored AI Roleplay

connect SillyTavern to OpenRouter

For advanced AI roleplayers, commercial platforms can often feel limiting due to strict, corporate content filters. If you want total narrative freedom and deep customizability, the ultimate solution is pairing SillyTavern (the gold-standard frontend interface) with OpenRouter (a powerful aggregator API that gives you access to dozens of top-tier AI models).

By routing your chats through OpenRouter, you can bypass platform limitations and experiment with open-weights models optimized specifically for creative writing.

Here is your straightforward, step-by-step guide on how to connect SillyTavern to OpenRouter for a completely uncensored roleplay experience.

Why Pair SillyTavern with OpenRouter?

Before diving into the setup, it helps to understand why this specific combination is favored by power users:

Step 1: Create an OpenRouter API Key

The first thing you need is a secure bridge that allows SillyTavern to communicate with OpenRouter’s servers.

  1. Head over to the official OpenRouter.ai website and create an account.
  2. Navigate to your dashboard and look for the API Keys section.
  3. Click on Create Key. Give it a recognizable name (e.g., “SillyTavern Client”).
  4. Important: Copy the generated API key string immediately and save it somewhere secure. OpenRouter will only display this key once for security reasons.
  5. Deposit a small balance (even $5 is plenty to start) into your account under the “Credit” settings to fund your token usage.

Step 2: Configure SillyTavern’s API Backend

With your key copied, it is time to open your SillyTavern launcher on your desktop or browser client.

  1. Look at the top right corner of the SillyTavern user interface and click on the Plug/Extension icon (API Connections).
  2. Change the API Type from its default setting by selecting OpenRouter from the dropdown menu.
  3. Locate the field labeled API Key and paste the string you generated in Step 1.
  4. Click the Connect button. If successful, the connection indicator light will turn solid green, indicating SillyTavern is successfully communicating with the backend cloud wrapper.

Step 3: Choose Your Ideal Roleplay Model

Once connected, a new Model dropdown menu will populate directly beneath your API configuration settings. OpenRouter provides access to a massive library, but for creative writing and uncensored character immersion, you should filter for these specific models:

Select your preferred model from the list to lock it in as your active chat engine.

Step 4: Adjust Advanced Context & Sampling Sliders

To guarantee that your chosen model performs optimally without repeating sentences or clipping paragraphs, scroll down to SillyTavern’s advanced generation panel and verify these optimal parameters:

The Verdict

Taking ten minutes to connect SillyTavern to OpenRouter completely shifts the way you interact with virtual companions. By separating your interface frontend from your model intelligence backend, you take back absolute ownership over your data privacy, eliminate corporate moderation filters, and gain access to a highly dynamic sandbox tailored perfectly to your creative storytelling needs.

Exit mobile version