Chatbox / NextChat
Chatbox and NextChat are both common lightweight AI chat clients, and they connect to Tianshu the same way — via OpenAI-compatible config.
General configuration
- Create a token in the Console (use a non-cconly group such as
claude-max/claude-kiroorcodex). - In the client's "OpenAI / Custom API" settings, fill in:
| Setting | Value |
|---|---|
| API Host / endpoint | https://tian-shu.org |
| API Path | /v1/chat/completions (the default in most clients is fine) |
| API Key | your Tianshu token |
| Model | a model name from the Model Marketplace |
- Save, select the model, and start chatting.
Where do model names come from
Always copy model names from the Model Marketplace, making sure they match the group your token belongs to.
Writing your own program
If you use the official OpenAI SDK, just point base_url to https://tian-shu.org/v1. See the examples in Quick Start.
