# How do I connect SillyTavern to an uncensored model API?

_Updated November 27, 2026. https://openuncensored.com/sillytavern-uncensored-api_

**Short answer:** In SillyTavern, open API Connections, pick **Chat Completion**, set the source to **Custom (OpenAI-compatible)**, enter `https://api.openuncensored.com/v1` as the custom endpoint and your OpenUncensored key as the API key, then choose a model and press Connect. One key reaches 58 uncensored models; for roleplay start with [DeepSeek V4.1 Flash 1017 Uncensored](https://openuncensored.com/models/deepseek-v4.1-flash-1017-uncensored) (`deepseek-v4.1-flash-1017-uncensored`), which answers 100% of requests censored models refuse at 221 tok/s.

## Set up the connection

Buy a prepaid key on the [credits page](https://openuncensored.com/credits) with no account (the key is the account), or point your agent at [agents.md](https://openuncensored.com/agents.md) and let it buy one.

- Open **API Connections** (the plug icon) and set **API** to **Chat Completion**.
- Set **Chat Completion Source** to **Custom (OpenAI-compatible)**.
- **Custom Endpoint (Base URL):** `https://api.openuncensored.com/v1`
- **Custom API Key:** your `ou-...` key.
- **Model ID:** pick from the list SillyTavern loads, or type an id such as `deepseek-v4.1-flash-1017-uncensored`. Then press **Connect**.

If the model list stays empty, check the key with `curl https://api.openuncensored.com/v1/models` (no key needed for the list) and make sure the URL ends in `/v1`.

## Models that stay in character

| Model | Model id | Answers | Speed | Context | $ / 1M in · out |
|---|---|---|---|---|---|
| [DeepSeek V4.1 Flash 1017 Uncensored](https://openuncensored.com/models/deepseek-v4.1-flash-1017-uncensored) | `deepseek-v4.1-flash-1017-uncensored` | 100% | 221 tok/s | 1M | $0.33 · $1.32 |
| [DeepSeek V4.1 Flash Uncensored](https://openuncensored.com/models/deepseek-v4.1-flash-uncensored) | `deepseek-v4.1-flash-uncensored` | 100% | 239 tok/s | 1M | $0.12 · $0.45 |
| [Qwen 3.8 27B Uncensored Fast by Heabsy](https://openuncensored.com/models/qwen3.8-27b-uncensored-fast) | `qwen3.8-27b-uncensored-fast` | 100% | 192 tok/s | 512K | $0.83 · $2.62 |
| [DeepSeek V4.1 Flash 0910 Uncensored](https://openuncensored.com/models/deepseek-v4.1-flash-0910-uncensored) | `deepseek-v4.1-flash-0910-uncensored` | 97% | 162 tok/s | 512K | $0.33 · $1.32 |
| [Phala: Qwen3.8 27B Uncensored (Aggressive)](https://openuncensored.com/models/qwen3.8-27b-uncensored) | `qwen3.8-27b-uncensored` | 100% | 250 tok/s | 1M | $0.30 · $1.50 |
| [Qwen3.6 35B A3B Uncensored (HauhauCS Aggressive)](https://openuncensored.com/models/qwen3.6-35b-a3b-uncensored) | `qwen3.6-35b-a3b-uncensored` | 100% | 133 tok/s | 32K | $0.12 · $0.80 |

_Ranked models that answer at least 95% of 36 requests censored models refuse. We measure refusals, speed and price, not prose style: try two or three._

## Samplers that keep replies coherent

- **Keep frequency and presence penalties between 0 and 0.3.** Higher penalties push the model away from every word it has already used, so long replies drift into other languages or broken text. We reproduced this on five models at 1.67 and 1.41.
- **Temperature 0.8 to 1.0** is a good range for roleplay. Above about 1.2 most models lose the thread.
- **Reasoning:** set a reasoning effort or a reasoning budget, not both. The router accepts either and turns off reasoning text in the reply when you ask it to hide reasoning.
- **Continue works.** A request that ends on the character's cut-off reply gets the rest of that reply; we checked DeepSeek, GLM and Venice's roleplay models.

## FAQ

### How do I connect SillyTavern to an uncensored model API?

In SillyTavern, open API Connections, pick **Chat Completion**, set the source to **Custom (OpenAI-compatible)**, enter `https://api.openuncensored.com/v1` as the custom endpoint and your OpenUncensored key as the API key, then choose a model and press Connect. One key reaches 58 uncensored models; for roleplay start with [DeepSeek V4.1 Flash 1017 Uncensored](https://openuncensored.com/models/deepseek-v4.1-flash-1017-uncensored) (`deepseek-v4.1-flash-1017-uncensored`), which answers 100% of requests censored models refuse at 221 tok/s.

### Which Chat Completion source do I pick?

Custom (OpenAI-compatible), with `https://api.openuncensored.com/v1` as the endpoint.

### Why does my character switch languages or write gibberish?

Usually the frequency or presence penalty is too high. Keep both between 0 and 0.3 and the temperature around 0.8 to 1.0.

### Does Continue work?

Yes. A request that ends on the character's cut-off reply gets the rest of it, on DeepSeek, GLM and Venice's roleplay models.

### Do I need an account?

No. Buy a prepaid key on the [credits page](https://openuncensored.com/credits) and use it as the API key. The key is the account, and it cannot spend more than you loaded.

More: [best uncensored LLM API](https://openuncensored.com/best-uncensored-llm-api), [cheapest](https://openuncensored.com/cheapest-uncensored-llm-api), [leaderboard](https://openuncensored.com/uncensored-llm-leaderboard).
