Author’s note: five steps to hook a SillyTavern character card up to a custom OpenAI-compatible endpoint — append only /v1 to the base URL, never /chat/completions — plus how to actually work out the input cost of every turn in a long conversation.
Plenty of people swap in their own key and try to run a character card in SillyTavern, only to get stuck on step one: the key is correct, the model name is correct, and yet the status light stays red. The culprit is usually the endpoint URL. Add one extra segment or leave one out and it simply won’t connect. The approach this article walks through is setting Chat Completion Source to Custom (OpenAI-compatible), ending the URL at /v1, and not appending /chat/completions on top of it.
This isn’t a trick someone guessed at — the advice to end the URL with /v1 and skip /chat/completions comes straight from SillyTavern’s official documentation. What follows walks through the setup in the order the docs lay it out, then adds something most tutorials skip: once your character card is connected, every turn re-sends the entire card plus the whole conversation history.
The payoff: after reading this, you’ll have your SillyTavern character card talking to a custom endpoint in about five minutes — and you’ll be able to estimate what each turn of a long conversation actually costs.

SillyTavern Custom Endpoint: Key Takeaways
Let’s start with the most important conclusions in one table. These five items are where setup mistakes happen most often—and where you should look first when troubleshooting a connection.
| Key point | Details | Why it matters |
|---|---|---|
| API type | Switch to Chat Completion | Custom sources only appear in chat completion mode |
| Completion source | Choose Custom (OpenAI-compatible) | Works with any service that implements the standard OpenAI Chat Completion API |
| Endpoint URL | Ends with /v1, e.g. https://api.apiyi.com/v1 |
Avoids failed connections caused by a missing or duplicated path segment |
| Model ID | If the provider implements /v1/models, pick from the dropdown; otherwise, enter it manually |
You can still chat even if the model list won’t load |
| Cost | The character card and prior context are billed as input on every turn | The longer the conversation gets, the more expensive each turn’s input becomes |
Why You Only Add /v1 for a SillyTavern Custom Endpoint
SillyTavern’s official documentation describes custom endpoints as being for any service that implements the standard OpenAI Chat Completion API. The docs also specifically remind you to add /v1 to the end of the URL if you’re having connection issues—not /chat/completions. That one reminder covers the two most common mistakes: only entering the domain name, or copying the full chat endpoint path.
Here’s a useful way to think about it: what you enter is a base URL, and the client appends the specific endpoint path to it. If the base URL is missing /v1, the resulting path won’t match the server’s version prefix. If it already includes /chat/completions, the client appends that path again, duplicating it. Both cases look much the same—a failed connection or a 404—so it’s easy to assume the API key is the problem.
| How you enter it | Result | Explanation |
|---|---|---|
Ends with /v1, like APIYI’s https://api.apiyi.com/v1 |
✅ Recommended | Matches the documented format |
Domain root only, no /v1 |
❌ Missing segment | The version prefix is missing, so the endpoint path won’t match |
Adds /chat/completions after /v1 |
❌ Extra segment | The docs explicitly warn against this |
Trailing slash, e.g. /v1/ |
⚠️ Depends on the server | Better to remove it and match the docs |

SillyTavern Character Cards Quick Start: Five Steps to Connect a Custom Endpoint
This section follows SillyTavern’s interface order. You don’t need to touch any config files — everything happens in the API connection panel.
- Open the API connection panel: Click the plug icon at the top to get into API Connections.
- Change the API type: Set the API type to Chat Completion. In Text Completion mode, none of the options below are visible.
- Choose the completion source: Under Chat Completion Source, select Custom (OpenAI-compatible).
- Fill in the endpoint and key: Set Custom Endpoint to
https://api.apiyi.com/v1— it ends at /v1, nothing appended after it. Put the key you generated in the APIYI console into API Key. - Pick or type a model: If the model shows up in the dropdown, just select it; if not, type the model ID manually, then click Connect.
Here’s a field checklist you can fill in alongside, with this article’s example values in parentheses:
| Field | What to enter | Notes |
|---|---|---|
| API | Chat Completion | Don’t pick Text Completion |
| Chat Completion Source | Custom (OpenAI-compatible) | The docs state compatibility isn’t guaranteed for every endpoint |
| Custom Endpoint (Base URL) | https://api.apiyi.com/v1 |
Only add /v1 — don’t write /chat/completions |
| Custom API Key | Your own key | No leading or trailing spaces |
| Model ID | qwen3.8-flash | Must be a model with a chat endpoint |
SillyTavern: Things to Know When Typing a Model ID Manually
The official docs put it plainly: if the provider implements /v1/models, you can pick a model from the dropdown; if not, you have to type the model ID yourself. When typing it in, it has to match exactly — case, hyphens, and dots all count, or the request may go out but the server will come back saying the model wasn’t found.
Model choice matters too. SillyTavern’s custom source uses Chat Completions, so models that only expose a Responses endpoint and have no chat endpoint won’t work here. This article uses qwen3.8-flash as the example, and it’s marked as having a chat endpoint in the APIYI apiyi.com model list. gpt-6-luna supports both responses and chat, so that one works too. Whether a specific model has a chat endpoint ultimately depends on the platform’s model list.
SillyTavern: Status Checks and Prompt Post-Processing Settings
Sometimes the status check keeps throwing warnings while messages actually send and reply just fine. The docs’ recommended fix: check Bypass API status check to skip the status check. That said, it’s worth sending a test message first to confirm you get a reply before checking that box — otherwise you might also be masking a genuine connection error.
Another easily overlooked option is Prompt Post-Processing. Character card conversations often contain several consecutive messages from the same role, and some servers are stricter about message order — that’s when you need to adjust the level here. The levels listed in the docs, from loosest to strictest, are:
| Level | What it does | Removes tool calls by default? |
|---|---|---|
| None | No processing, sends as-is | No |
| Merge consecutive same-role messages | Combines adjacent same-role messages into one | No |
| Semi-strict | Semi-strict cleanup of message structure | Yes |
| Strict | Strict cleanup of message structure | Yes |
| Merge into a single user message | Combines everything into one user message | Yes |
Generally, start with None. If the server returns message-format errors, step toward the stricter levels one at a time. Keep in mind the last three levels strip tool calls by default, which may affect extensions that rely on tool calling.
🚀 Quick start: You can first claim your free trial credits for new users at APIYI apiyi.com, run a character card through qwen3.8-flash, confirm the endpoint, key, and model ID all check out, and then switch to the model you normally use.
How Much Does a SillyTavern Character Card Actually Cost per Turn?
Once you’re connected, many people only remember that “it consumes tokens” but don’t realize that character-card chats are billed very differently from regular Q&A. The Chat Completion API itself doesn’t keep conversation state. Every turn, you have to resend the system prompt, the character card, example dialogue, and all previous context. All of that is billed as input, so the longer the conversation, the more expensive the input side of each turn gets.
Let’s calculate with a simplified model. Suppose the character card plus system prompt is about 2,000 tokens, you send 100 tokens each turn, the character replies with 400 tokens, and each turn adds about 500 tokens to the context. Then the input for round n is roughly 2,100 + 500 × (n − 1) tokens, and the output is fixed at 400 tokens. The unit prices come from the APIYI apiyi.com model list (2026-11-30), per million tokens: qwen3.8-flash input $0.114, output $0.3876; gpt-6-luna input $0.1, output $0.5.
| Round | Input tokens this round | qwen3.8-flash cost this round | gpt-6-luna cost this round |
|---|---|---|---|
| Round 1 | 2,100 | input approx. $0.00024 + output approx. $0.00016 | input $0.00021 + output $0.0002 |
| Round 10 | 6,600 | input approx. $0.00075 + output approx. $0.00016 | input approx. $0.00066 + output approx. $0.0002 |
| Round 50 | 26,600 | input approx. $0.0030 + output approx. $0.00016 | input approx. $0.0027 + output approx. $0.0002 |
| 50-round total | 717,500 | input approx. $0.082 + output approx. $0.0078 | input approx. $0.072 + output $0.01 |
Two things stand out in this table. First, the input in round 50 is more than ten times that in round 1, while output never changes. Almost all of the per-turn cost is driven by the ever-growing prior context. Second, across 50 rounds, input costs are about ten times output costs. In other words, the bill for a long conversation is mainly determined by the input price; output price only starts to matter when the character’s replies are especially long.

Three Ways to Keep Long SillyTavern Conversations From Getting Expensive
Since input is the bulk of the cost, controlling cost means starting with input. The three approaches below don’t touch the content of your character card — they only change how much gets sent:
- Cap the context length: Set an upper limit in SillyTavern’s context size setting. Older messages beyond that point simply stop being sent, so a single turn’s input won’t grow forever.
- Trim the character card: Repeated descriptions and bloated example dialogues get billed again on every single turn. Cut 500 tokens and you save 500 tokens per turn.
- Watch the long-context tiered pricing: The model list notes that for gpt-6-luna, any single input beyond 272,000 tokens is billed at $0.20 per million. If you push the context really high, factor that in.
The platform also lists cached-read prices: $0.01425 per million tokens for qwen3.8-flash and $0.01 per million for gpt-6-luna. Prefixes that stay identical every turn — a character card, for example — may be billed at the cached-read rate on a cache hit, but whether you actually get a hit depends on the specific model and request structure. For budgeting, it’s still safest to estimate at the normal input price.
FAQ
Q1: What is the Custom (OpenAI-compatible) option in SillyTavern?
It’s a completion source under Chat Completion mode. The official docs say it’s meant for any service that implements the standard OpenAI Chat Completion API. Fill in the address, key, and model ID of a compatible service, and you can drive character card conversations with it.
Q2: What’s the difference between an address ending in /v1 and one ending in /chat/completions?
The official docs put it this way: if you’re having connection trouble, append /v1 to the end of the address — not /chat/completions. What you enter is the base URL; the client appends the actual endpoint path. If you include /chat/completions as well, the path ends up duplicated and the connection fails.
Q3: Why is there no model to pick from in the dropdown?
The docs explain that you can only select models from the dropdown if the provider implements /v1/models. Not being able to pull the list doesn’t mean the connection failed — just enter the model ID manually, e.g. qwen3.8-flash.
Q4: The status check keeps erroring out, but chatting works. What now?
In that case you can tick Bypass API status check to skip it — that’s the workaround the docs give. Before ticking it, send a test message to confirm you really are getting replies.
Q5: How do I swap between multiple models in SillyTavern with a single key?
One key from APIYI apiyi.com lets you call chat-endpoint models across a range of providers. Keep the address ending in /v1 unchanged and just swap the model ID — you can compare how different models handle the same character card. New users get free trial credit, which makes it a good way to run a small-scale comparison first.
Q6: What are the known limitations of SillyTavern’s custom endpoint?
The docs state plainly that not every endpoint is guaranteed to be compatible. Models that only expose the Responses API won’t work with this source; strict-tier prompt post-processing strips out tool calls by default; and the input cost of long conversations keeps climbing with every turn. When you hit a compatibility problem, try adjusting the prompt post-processing level first, or switch to a model that has a chat endpoint.
SillyTavern Custom Endpoint: Key Takeaways
- Pick the right completion source: Set the API type to Chat Completion and the completion source to Custom (OpenAI-compatible).
- Only append
/v1to the URL: The docs recommend ending the URL with/v1— don’t add/chat/completionson top of it. - Model IDs can be typed in manually: If the server doesn’t implement
/v1/models, just type the full model name yourself. - Only pick chat models: This source goes through Chat Completions, so models that only expose the Responses API won’t work.
- Input is where the cost lives: The character card and prior context get resent every turn — by turn 50, the input can be more than ten times what it was on turn 1.
- Cap your context: Limiting context size and trimming the character card are the most direct ways to save money.
- One key, many models: APIYI’s base URL already ends in
/v1, so switching models just means changing the ID.
Summary
Connecting a SillyTavern character card to a custom endpoint comes down to three things:
- Don’t mess up the path: Chat Completion + Custom (OpenAI-compatible), URL ending in
/v1, no/chat/completions. - The model must support chat: If it’s not in the dropdown, type the ID in manually — models that only expose Responses won’t work.
- Costs climb with each turn: Every turn resends the whole card and all prior context, so long conversations rack up bills mainly through input pricing.
Start by getting the connection working with a small model, then decide on a context limit based on how long your conversations tend to run. I’d recommend validating your setup with free credits through APIYI at apiyi.com: set the URL to end in /v1, pick a model that has a chat endpoint, and you’re ready to run your character card.
📚 References
-
SillyTavern official repository: project source code and release history
- Link:
github.com/SillyTavern/SillyTavern - Notes: As of 2026-11-30, it has about 36,000 stars, with the most recent push on 2026-11-22, and is licensed under AGPL-3.0
- Link:
-
SillyTavern Docs – OpenAI and custom endpoints: Chat Completion connection guide
- Link:
docs.sillytavern.app/usage/api-connections/openai/ - Notes: This article’s statements about /v1, the model dropdown, status checks, and prompt post-processing all come from this page
- Link:
-
APIYI model list: model endpoints and pricing
- Link:
docs.apiyi.com/models.md - Notes: Check whether a model has a chat endpoint and its latest price; prices are subject to the platform listing
- Link:
Author: APIYI Technical Team
Technical contact: Feel free to contact us through the APIYI website homepage. For more integration resources, visit the docs.apiyi.com documentation center.