EN ▾

Qwen3.5 SillyTavern Setup With an Uncensored API

If you searched for qwen3.5 sillytavern, you probably want a model that stays in character without refusing, and a connection that does not break mid-scene. SillyTavern talks to any OpenAI-compatible endpoint, so setup is a matter of three fields.

Updated

Key points

  • Use the Chat Completion API type with the Custom (OpenAI-compatible) source in SillyTavern.
  • Base URL is https://api.qwenimageapi.top/v1 and the model ID is uncensored.
  • Test the key with curl first, then set the context size to 100000.
  • A 40-turn roleplay session costs a few cents at $0.15 and $0.50 per 1M tokens.
Isometric chat panel linked by a glowing cable to a server cube, illustrating a SillyTavern API connection

The short answer: three fields

SillyTavern does not care which company trained the model behind an endpoint. It cares that the endpoint speaks the OpenAI chat format. This service does, so the whole setup comes down to the values below. The rest of this page explains where to paste them and what to change afterwards.

SillyTavern fieldValue
API typeChat Completion
Chat Completion sourceCustom (OpenAI-compatible)
Custom endpoint (base URL)https://api.qwenimageapi.top/v1
Custom API keyyour key from the key page
Model IDuncensored

One clarification before you go further. This is not the official Qwen API and not a router across vendors. It is a single open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use. If you need a specific model version by name, this is not the place to pick one: the model ID is always uncensored.

Get a key first

You need a key before SillyTavern can do anything. Sign up with Google or with an email and password, then open the API key page. New users can claim $0.50 of trial credit there with one click. It is one per person, valid for 7 days, and needs no payment method. That is enough for a real test session, as the cost section below shows.

Trial keys are limited to 2 concurrent requests and 60 requests per minute. A full key, which you get after a top-up, allows 8 concurrent requests and 300 per minute. For a single-chat setup either limit is fine. Group chats are the case where limits start to matter, and there is a section on that further down.

Top-ups are prepaid in whole dollar amounts from $20 to $500, with a bonus of 5% from $50, 10% from $100 and 15% from $200. Payment is in crypto: USDT on TRC20 or USDC on Base. There is no subscription, and the credit never expires, so an unused balance simply waits for your next session. Current prices are on the pricing page.

Connect SillyTavern step by step

  1. Open SillyTavern and click the plug icon at the top to open the API Connections panel.
  2. Under API, choose Chat Completion. The Text Completion option is for raw backends and is the wrong one here.
  3. In Chat Completion Source, choose Custom (OpenAI-compatible).
  4. Paste https://api.qwenimageapi.top/v1 into the endpoint field. Do not add /chat/completions yourself, SillyTavern appends the path.
  5. Paste your key into the API key field and press Connect or the save button next to it.
  6. In Model ID, type uncensored. If your version loads a model list, pick the single entry that appears; it comes from GET /v1/models.
  7. Press Test Message. A short reply means the connection works.

Labels move around between SillyTavern versions, so if a field is named a little differently on your install, look for the same idea: a source that lets you type your own URL, key and model name. The values stay the same.

Two limits to know about. This API generates text only. SillyTavern features that call an image model, such as scene illustrations, will not work through this endpoint, and neither will voice or embedding features. Point those at other services. If you want the reasoning behind that split, the text-only guide covers it.

Test the endpoint outside SillyTavern

When something fails, it helps to know whether the problem is the key, the URL or the frontend. A curl call removes SillyTavern from the equation:

curl https://api.qwenimageapi.top/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Say hello in one sentence."}],
    "max_tokens": 50
  }'

A JSON reply with a choices array means the key and URL are good. The response headers include X-Balance-USD, which shows your remaining balance, and X-Request-Id, which you can quote to support if a request looks wrong. You can also list the model with GET /v1/models, using the same Authorization header.

The same check in Python, using the official OpenAI SDK, takes four lines and is handy if you later script your own character tools:

from openai import OpenAI

client = OpenAI(base_url="https://api.qwenimageapi.top/v1", api_key="YOUR_KEY")
r = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Say hello in one sentence."}],
)
print(r.choices[0].message.content)

Settings worth changing

Context size

The window is 100,000 tokens, counting the prompt and the completion together. In the Chat Completion preset panel, raise the context size slider to 100000, or to a lower number if you prefer cheaper turns. A larger window lets the chat keep more history, but every turn resends that history as input, so the bill grows with it. For most roleplay, 16,000 to 32,000 tokens of history is plenty, and lorebook entries do better than raw history for facts you want remembered.

Max response length

The max_tokens parameter is optional on this API. The completion can use whatever is left in the window. SillyTavern sends its own response length value, so set it to match the length of reply you like, for example 400 to 600 tokens, and you will not pay for runaway replies.

Sampling

Temperature, top_p, stop sequences, seed and the frequency and presence penalties are passed through to the model. Start with temperature around 0.8 to 1.0 and top_p near 0.95, and change one value at a time. Penalties help if the character begins to repeat phrases.

Streaming

Turn on streaming in the preset panel. The API streams over server-sent events, so text appears as it is generated, and usage is reported at the end of the stream. Keep in mind that a streamed request holds its concurrency slot until the stream finishes.

Group chats and rate limits

In a group chat SillyTavern can fire several character replies close together, and a swipe or regenerate while another reply is still streaming adds one more. With a trial key that allows only 2 concurrent requests, the third overlapping call is rejected. With a full key the ceiling is 8 at once and 300 per minute.

The API reports the two cases separately. HTTP 429 with the error code concurrency means too many requests were open at the same moment: wait for a stream to finish. HTTP 429 with rate_limited means you went over the per-minute count. During temporary overload the API also answers 429, with a Retry-After: 5 header, so a pause of five seconds before retrying is the right response. The headers X-RateLimit-Limit-Requests and X-RateLimit-Limit-Concurrency tell you which limits your key has.

Fixing the usual errors

  • 401 Unauthorized. The key was pasted with a trailing space, or SillyTavern is still using an older saved key. Clear the field, paste again and reconnect.
  • 404 Not Found. The endpoint probably includes an extra path. Use exactly https://api.qwenimageapi.top/v1, with no trailing slash and no /chat/completions.
  • Model not found. The model ID must be uncensored, in lowercase. Names such as a Qwen version string are not valid here.
  • Replies stop early. Raise the response length in the preset, or check that your prompt plus history is not close to the 100,000-token window.
  • Insufficient balance. Check X-Balance-USD in a response, then top up on the key page. Failed or refused requests are not charged.

The content rule is short. The model is tuned to answer without refusals for lawful adult use, with one hard limit: no sexual content involving minors, under any framing. Character definitions that try to work around that will not be served.

What a roleplay session costs

Prices are $0.15 per 1M input tokens and $0.50 per 1M output tokens, billed from prepaid credit. Take a realistic session: the system prompt and character definition use 2,500 tokens, and every turn adds about 150 tokens from you and 350 from the model, so history grows by 500 tokens per turn. Run 40 turns.

  • Input per turn is 2,500 plus 500 for each earlier turn. Summed over 40 turns, that is 40 x 2,500 + 500 x (0 + 1 + ... + 39) = 100,000 + 390,000 = 490,000 input tokens.
  • Input cost: 490,000 x $0.15 / 1M = $0.0735.
  • Output: 40 x 350 = 14,000 tokens, which costs 14,000 x $0.50 / 1M = $0.007.
  • Total: $0.0805, about eight cents.

The $0.50 trial therefore covers a handful of sessions like this one. Because input is billed on every turn, trimming history is the main way to cut cost. Details on how the numbers behave at larger scales are on the pricing page, and the quickstart docs show the same endpoint from code.

Questions and answers

Is this the official Qwen API for SillyTavern?

No. It is an OpenAI-compatible endpoint backed by one open-weight model from an independent provider. It is not an official endpoint of Qwen or any other vendor, and the model ID is always uncensored.

Which SillyTavern API type should I choose?

Choose Chat Completion and then the Custom (OpenAI-compatible) source. Text Completion expects a raw backend and will not match this endpoint.

How large can the chat history be?

The context window is 100,000 tokens for prompt plus reply. Set the context size in SillyTavern to 100000 or lower, and remember that long history is billed as input on every turn.

Why do I get 429 errors in a group chat?

Too many requests were open at once or too many were sent in a minute. A trial key allows 2 concurrent and 60 per minute, a full key 8 and 300. Wait for streams to finish, or retry after the Retry-After delay.

Can I generate images in SillyTavern with this?

No. The API is text only, with no image, audio or video generation and no embeddings.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API keyRead the docs