Skip to content
Sign Up Free
Chat and knowledge bases

SillyTavern: connect to BetterToken

Connect BetterToken to SillyTavern for character chat over the OpenAI-compatible API.

Connect BetterToken to SillyTavern for character chat over the OpenAI-compatible API.

Key settings

FieldValue
Base URLhttps://bettertoken.ai/v1 (Custom Endpoint)
API KeyBetterToken API Key
Modelmodel plaza

Prerequisites

Sign up and get a BetterToken API Key

Already have an account? Sign in, top up, then create a key in the console.

Install

Install SillyTavern using the official instructions:

Manual setup

Open API Connections (the plug icon). Set API to Chat Completion and select Custom (OpenAI-compatible) as the source.

The API Connections plug icon in the top bar.
  • Custom Endpoint (Base URL): https://bettertoken.ai/v1
  • Custom API Key: BetterToken API Key
  • Enter a Model ID: model plaza
Custom Endpoint, Custom API Key, and Enter a Model ID in SillyTavern 1.19.1.

Enter the exact Model ID and click Connect. Open a character chat. If the character changes the test reply, start a plain chat without extra presets.

Do not add /chat/completions to Custom Endpoint (Base URL). SillyTavern appends it. Leave extra headers and parameters empty for the first test.

Verify the connection

Start a new chat and select your BetterToken model. Send Remember the word LANTERN and reply OK. Then ask What word did I ask you to remember?. The expected replies are OK and LANTERN.

Switch models

Select another BetterToken model. If it is missing, check the exact Model ID in the model plaza.

Common errors

ErrorWhat to check
401Check your BetterToken API Key and remove extra spaces.
404Check the URL and request path. https://bettertoken.ai/v1/chat/completions.
model not foundCopy the exact Model ID from the model plaza.

Technical details

  • OpenAI Chat Completions: POST https://bettertoken.ai/v1/chat/completions
  • App documentation