SillyTavern API Setup: Free Trial, Then Cents
If you searched for the best free api for sillytavern, the honest answer is a short free trial followed by prepaid pricing that works out to a fraction of a cent per message. This page shows the exact connection steps and the real numbers.
Key points
- New users can claim $0.50 of trial credit with one click, valid for 7 days, no payment details needed.
- SillyTavern connects through its Custom (OpenAI-compatible) source with the model ID
uncensored. - A typical roleplay reply costs roughly a tenth of a cent, so $20 covers thousands of messages.
- Streaming, temperature, top_p, stop and penalties are passed through to the model.

What free means for SillyTavern users
Nobody can honestly offer unlimited free access to a large language model, because someone has to pay for the GPUs. What you can get is a free start. New accounts can claim $0.50 of trial credit with one click on the API key page. It is valid for 7 days and needs no payment details. After that you top up only if you want to keep going.
That sounds small until you price a chat message. The rates are $0.15 per 1M input tokens and $0.50 per 1M output tokens. SillyTavern sends the character definition, your persona, the system prompt and as much chat history as fits, so the input side is the larger one. Here is what that looks like for three common setups.
| Setup | Tokens in / out | Cost per reply | Replies from $0.50 trial | Replies from $20 |
|---|---|---|---|---|
| Short context | 2,000 / 300 | $0.00045 | 1,111 | 44,444 |
| Typical character plus history | 6,000 / 350 | $0.001075 | 465 | 18,604 |
| Long memory | 20,000 / 400 | $0.0032 | 156 | 6,250 |
The math for the middle row: 6,000 input tokens cost 6,000 x 0.15 / 1,000,000 = $0.0009, and 350 output tokens cost 350 x 0.50 / 1,000,000 = $0.000175. Together that is $0.001075 per reply. Failed or refused requests are not charged, so a reply that errors out does not eat your credit.
Connect SillyTavern step by step
You need three values: the base URL https://api.nsfwchatgpt.top/v1, your key, and the model ID uncensored. Sign-up works with Google or with email and password. Menu names can shift slightly between SillyTavern versions, but the flow is the same.
- Create an account and open the API key page. Copy the key. If you want the trial, claim it there.
- In SillyTavern, open the API Connections panel (the plug icon in the top bar).
- Set the API type to Chat Completion, then pick Custom (OpenAI-compatible) as the Chat Completion Source.
- Paste
https://api.nsfwchatgpt.top/v1into the Custom Endpoint (Base URL) field. Do not add/chat/completionsyourself; the client appends it. - Paste your key into the Custom API Key field.
- Type
uncensoredinto the model ID field and press Connect. A green status light means the request went through.
If you want to check the key outside SillyTavern first, run this from a terminal. It calls the models endpoint, which is the cheapest possible test.
# the list should include the model ID: uncensored
curl https://api.nsfwchatgpt.top/v1/models \
-H "Authorization: Bearer YOUR_KEY"
And a one-line chat request to confirm the model answers:
curl https://api.nsfwchatgpt.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."}]}'Settings that change the roleplay
The model is a single open-weight model tuned to answer without content refusals for lawful adult use, so you do not need jailbreak prompts in your preset. A plain, clear system prompt works better than a pile of override text. Use the knobs below instead.
Temperature and top_p
Both are passed through. Start with a temperature around 0.8 to 1.0 for character voice and lower it if the replies drift off the scene. Change one value at a time, because temperature and top_p overlap in effect. If a character keeps repeating phrases, try a small frequency or presence penalty rather than raising temperature.
Context size and max response length
The window is 100,000 tokens for prompt plus completion, and completion can use whatever is left. SillyTavern asks you to set both numbers, and you do not have to use the maximum. A context of 8,000 to 16,000 tokens keeps most stories coherent and holds the cost per reply near the middle row of the table above. Raise it for long-running campaigns where lore matters, and use the lorebook for facts you need every turn. A max response length of 300 to 500 tokens keeps replies tight.
Streaming
Turn streaming on. The API sends server-sent events and reports usage at the end, so you see text as it is written. One thing to know: a streamed request holds its concurrency slot until the stream finishes, so cancelling a long reply frees the slot sooner than waiting.
Stop sequences and seed
Stop strings are passed through, which helps when the model tries to write your lines for you. Add your persona name followed by a colon as a stop string if that happens. A fixed seed makes swipes easier to compare while you tune a preset.
Rate limits, group chats and 429 errors
A full key allows 8 concurrent requests and 300 requests per minute. A trial key allows 2 concurrent requests and 60 per minute. For one person chatting, neither limit matters. Group chats are the exception: if several characters generate at once, you can hit the concurrency cap on a trial key.
When you go over, the API answers HTTP 429. The error code tells you which limit you hit: rate_limited means too many requests per minute, and concurrency means too many at once. During temporary overload you also get a 429 with a Retry-After: 5 header. In SillyTavern the fix is the same each time: wait a few seconds and press regenerate. Avoid mashing the swipe button, because each click can start another request before the last stream ends.
The response headers help with budgeting. X-Balance-USD shows what is left on the key, and X-RateLimit-Limit-Requests and X-RateLimit-Limit-Concurrency show your ceilings. Check the integration docs for the full list of parameters.
When the credit runs out
Top-ups are prepaid, in any whole amount from $20 to $500, and credit never expires. There is no subscription, so a month where you barely play costs nothing. This site takes crypto only, using USDT on TRC20 or USDC on Base. Larger top-ups add a bonus: +5% from $50, +10% from $100 and +15% from $200. A $100 top-up therefore gives you $110 of credit.
For a sense of scale, at 6,000 tokens in and 350 out per reply, $20 pays for about 18,600 replies. Someone chatting 200 messages a day would use that in a little over three months. See the pricing page for the full table and the NSFW AI API guide if you also plan to call the API from your own scripts.
Prompts are not used for training. Keep in mind the hard limit: content involving minors is never allowed, and requests that try it are refused.
Troubleshooting a failed connection
| Symptom | Likely cause | Fix |
|---|---|---|
| Status stays red after Connect | Wrong source type or an extra path on the URL | Use Custom (OpenAI-compatible) and end the base URL at /v1 |
| 401 error | Key pasted with a space or an old key | Copy the key again from the API key page |
429 with concurrency | Several generations running at once | Stop extra swipes, or use a full key for 8 slots |
| Empty reply | Max response length set to 0 or very low | Set 300 or more |
| Model not found | Model ID typed differently | Enter exactly uncensored |
If a request fails on the server side, it is not billed, so retrying costs you nothing extra.
When another option fits better
This API is a good fit if you want one model, no content refusals for lawful adult use, and pay-as-you-go billing. It is not the right tool for everything. You get text only, with no image generation, voice or embeddings. If your setup depends on several different models or on image tools inside SillyTavern, you will need other services alongside it. If you run models locally and like it, a local backend costs no per-token fees, though you pay in hardware and setup time. Many people use both: local for quick tests, the hosted API when they want longer context without buying a bigger GPU.
More guides
Questions and answers
Is there a completely free API for SillyTavern?
Not without limits, since running a model costs money. New users can claim $0.50 of trial credit with one click, valid for 7 days, and then pay per use from $20.
Which source do I pick in SillyTavern?
Chat Completion with Custom (OpenAI-compatible). Enter the base URL https://api.nsfwchatgpt.top/v1, your key, and the model ID uncensored.
Do I need a jailbreak prompt?
No. The model is tuned to answer without content refusals for lawful adult use, so a normal system prompt and character definition are enough.
How many messages does $0.50 of trial credit cover?
At about 6,000 input and 350 output tokens per reply, around 465 replies. Shorter contexts stretch it further.
Can I use it for group chats?
Yes, but a trial key allows only 2 concurrent requests. A full key allows 8.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.