Chat completion vs text completion
They are two ways of handing a conversation to a model. One sends a list of messages and lets the server arrange them. The other sends one block of text that you arranged yourself. Picking the wrong one is the most common reason a first connection gives odd replies.
The same turn, both ways
Chat completion, sent to /v1/chat/completions:
{"model": "glm-5.3-flash-uncensored",
"messages": [
{"role": "system", "content": "You are Mara, a ship's doctor."},
{"role": "user", "content": "How bad is it?"}
]}
Text completion, sent to an address such as /v1/completions:
{"prompt": "<|system|>You are Mara, a ship's doctor.<|user|>How bad is it?<|assistant|>"}
In the first, you say who is speaking and the server adds the markers the model was trained on. In the second, the markers are your job. The ones shown are only an illustration: every model family has its own, and a wrong set makes the output worse without any error.
What changes in practice
| Chat completion | Text completion | |
|---|---|---|
| Who formats the prompt | The server | You, with an instruct template |
| Where it is usual | Hosted APIs | Backends you run: KoboldCpp, llama.cpp, text-generation-webui |
| Samplers | The common set: temperature, top P, penalties, stop, max tokens | Many more on local backends |
| Starting the reply for the model | Limited | Easy, since the prompt can end anywhere |
| Tools and images | Built around this style | Rarely |
In SillyTavern
The API Connections panel has both as separate types, and they use different settings screens. Text Completion uses Advanced Formatting, where the context and instruct templates live. Chat Completion uses the prompt manager in the sampler panel, and ignores the instruct template entirely.
That is the trap most people fall into: connected through Chat Completion, editing instruct templates, and seeing no change. Nothing is broken. Those settings belong to the other mode.
Four common mistakes
- Connecting a chat API through Text Completion. You get errors, or replies that ramble past the end of a turn.
- Importing a text completion preset full of local samplers into a chat connection and assuming they apply. Most are not sent.
- Typing role markers into messages. The server already adds them. Doubling them confuses the model.
- Expecting identical output after switching modes. The prompt is laid out differently, so the model reads something different.
Which one this site uses
Chat completion. The models here are served at https://uncensoredchats.com/v1/chat/completions in the OpenAI format, and at /v1/messages in the Anthropic format, which is also chat-style. In SillyTavern choose Chat Completion, the source Custom (OpenAI-compatible), and the endpoint https://uncensoredchats.com/v1. The SillyTavern guide has every field, and the same choice applies in Agnai and KoboldAI Lite.
Questions
What is the difference between chat completion and text completion?
Chat completion sends a list of messages, each marked with who said it, and the server lays them out the way the model was trained to read. Text completion sends one block of text that you have laid out yourself, and the model continues it.
Which should I pick in SillyTavern?
For a hosted API such as this one, Chat Completion with the source Custom (OpenAI-compatible) and the endpoint https://uncensoredchats.com/v1. Text Completion is for backends you run yourself, such as KoboldCpp or llama.cpp.
Does the instruct template matter with chat completion?
No. The server applies the model's own template, so SillyTavern's instruct template settings are not used in Chat Completion mode. Changing them does nothing.
Which is better for roleplay?
Text completion gives more control and more samplers on a local backend. Chat completion is simpler, works with tools and images, and is what hosted APIs offer.
Why did my replies change when I switched?
The same card and settings are laid out differently in the two modes, so the model reads a different prompt. Expect to retune a little.
Keep reading
- AI with no restrictions→
- ChatGPT without restrictions→
- A Venice AI alternative→
- GLM 5.3, uncensored→
- DeepSeek V4.1 Flash, uncensored→
- Qwen3.8 27B, uncensored→
- The uncensored AI API→
- Set up SillyTavern→
- Set up opencode→
- Set up Claude Code→
- Abliterated vs uncensored→
- Cost calculator→
- Uncensored AI roleplay→
- Manifesto→
- All guides→
- Kimi K3.1 Pro, uncensored→
- An abliteration.ai alternative→
- GLM 5.3 Flash, uncensored→
- Unfiltered AI→
- What is uncensored AI?→
- Model research→
- Uncensored AI models, ranked by job→
- Run it yourself, or use a hosted one?→
- MiMo V2.6 Flash, uncensored→
- GLM 5.3 Lite, uncensored→
- Kimi K3.1 Pro Lite, uncensored→
- Hy4, uncensored→
- KoboldAI Lite setup→
- Janitor AI proxy settings→
- Agnai setup→
- What is abliterated AI?→
- Character AI with no filter→
- An AI that will answer anything→