AnythingLLM: connect to BetterToken
Connect BetterToken to AnythingLLM Desktop for chat and questions about workspace documents.
Connect BetterToken to AnythingLLM Desktop for chat and questions about workspace documents.
Key settings
| Field | Value |
|---|---|
| Base URL | https://bettertoken.ai/v1 |
| API Key | BetterToken API Key |
| Model | model plaza |
Prerequisites
- BetterToken API Key: register and get an API key
- Model ID: model plaza
Already have an account? Sign in, top up, then create a key in the console.
Install
Install AnythingLLM using the official instructions:
Manual setup
Open Settings → AI Providers → LLM and select Generic OpenAI.

BetterToken configuration example. Enter your own BetterToken API Key.
- Base URL:
https://bettertoken.ai/v1 - API Key: BetterToken API Key
Under Selected Model, choose a model. If the list is empty, enter the exact Model ID. Click Save changes. Open a workspace that uses the system model.
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
| Error | What to check |
|---|---|
401 | Check your BetterToken API Key and remove extra spaces. |
404 | Check the URL and request path. https://bettertoken.ai/v1/chat/completions. |
model not found | Copy the exact Model ID from the model plaza. |
Advanced setup
For document Q&A, select AnythingLLM Embedder in the embedding settings. Create test.txt with the line Project code: BT-DOC-42. Upload it to the workspace and click Save and Embed. Ask What is the project code in test.txt?. The expected answer is BT-DOC-42.
Technical details
- OpenAI Chat Completions:
POST https://bettertoken.ai/v1/chat/completions - App documentation

